Showing posts with label Videos. Show all posts
Showing posts with label Videos. Show all posts

Friday, September 7, 2018

[Video] Crypto Gone Rogue: A Tale of Ransomware, Key Management, and CryptoAPI - GrrCon 2018

Written by Pranshu Bajpai |  | LinkedIn


I recently spoke at GrrCon 2018 about how ransomware actually implement key management models by abusing the resident CryptoAPI on host systems. This 25 minute talk goes deep into explaining what the CryptoAPI entails on a Windows system, what DLLs the ransomware imports, what functions from these DLLs are used by the ransomware, and how Cryptographic Service Providers (CSPs) come into the picture.

This talk also demonstrates the concepts by taking the example of the infamous "NotPetya" ransomware. We reverse engineer the NotPeya malware in IDA disassembler and discuss the cryptographic functions being imported from DLLs on Windows.

 Ransomware such as WannaCry and Petya have been heavily focused upon in the news but are their cryptographic models different from predecessors? Key management is crucial to these cryptoviral extortions and for convenience, they harness the power of resident Crypto APIs available on host. Simply stated, they command victim’s resources to lock victim’s resources. In this talk, we examine popular key management models deployed in infamous cryptovirii with the ultimate objective of providing a deeper comprehension of exactly how resident APIs are being used against users. On a Windows host, CryptoAPI (CAPI) provides cryptographic services to applications. CSPs are sets of DLLs that are associated with CAPI implementing cryptographic functions such as CryptAcquireContext, CryptGenKey, CryptEncrypt, CryptImportKey, CryptExportKey, CryptDestroyKey. In Windows Vista and later, CNG replaces CAPI and the ransomware menace persists. We explain cryptographic functions exploited by several ransomware families and explore answers to crucial questions such as how and where the encryption key is generated, where it is stored, how it is protected while encrypting user data, and how it is securely purged. We provide graphical representations combined with pseudo-codes embodying real-world Crypto API function calls pertaining to key management in ransomware. This talk delves deep into key management in present-day ransomware and is a direct result of real-world case studies of highly virulent infections. Dissections will be shown to back up the arguments.

You can watch the video here:


Wednesday, November 8, 2017

Penetration Testing Video Series by AmIRootYet [Pranshu]

Written by Pranshu Bajpai |  | LinkedIn

As of November 2017, I have started posting a series of videos detailing and demonstrating several penetration testing concepts on a YouTube channel here:

https://www.youtube.com/channel/UC_MuHQPbf3EatJc7M6nDTlQ

The purpose of this channel is to foster a deeper understanding of security concepts and, more importantly, how hackers operate. To beat the enemy, it is crucial to comprehend how they operate. Knowing the adversary is our best defense.

The format of the videos will be a demonstration of a security concept on Kali Linux, that is, a practical lab scenario. I will explain as much as I can in the short videos but at this point I will assume that visitors will do background reading on the theory behind my demonstrations on their own. In future, if time permits, I might include some theory videos as well.

Please subscribe, like, and comment on the channel to show your support. Pursuing a doctoral degree in computer science keeps me very busy and this support encourages me to keep posting regularly despite my busy schedule.

Thank you!