Posts

Showing posts with the label command-line parameters

Hive ransomware command-line parameters analysis

Image
  Back to July 22, 2022, I noted that Hive ransomware gets upgrades in Rust by Microsoft Threat Intelligence ( Hive ransomware gets upgrades in Rust | Microsoft Security Blog ). The report mentioned that Unlike in previous variants where there was a  ‘help’  menu, in the new variant, the attacker must know the parameters beforehand. Since all strings are encrypted, it makes finding the parameters challenging for security researchers. Getting the command-line parameters is very challenging for beginners, but recently I wanted to challenge myself. I choose the sample (SHA-256: 33744c420884adf582c46a4b74cbd9c145f2e15a036bb1e557e89d6fd428e724 ) to debug. The sample won’t continue its execution , but it will also tell key information to the analyst. The first thing is the sample has to handle input from the user. the second thing it prints is an error Figure 1 – Without a username and a password, the sample won’t continue its execution The sample uses the function...