General

  • Target

    https://github.com/enginestein/Virus-Collection/blob/main/Windows/Binaries/Ransomware/Dharma.exe

  • Sample

    241022-z469jswhjk

Malware Config

Extracted

Path

C:\$Recycle.Bin\S-1-5-21-3442511616-637977696-3186306149-1000\XFOXXONRN-MANUAL.txt

Family

gandcrab

Ransom Note
---= GANDCRAB V5.2 =--- ***********************UNDER NO CIRCUMSTANCES DO NOT DELETE THIS FILE, UNTIL ALL YOUR DATA IS RECOVERED*********************** *****FAILING TO DO SO, WILL RESULT IN YOUR SYSTEM CORRUPTION, IF THERE ARE DECRYPTION ERRORS***** Attention! All your files, documents, photos, databases and other important files are encrypted and have the extension: .XFOXXONRN The only method of recovering files is to purchase an unique private key. Only we can give you this key and only we can recover your files. The server with your key is in a closed network TOR. You can get there by the following ways: ---------------------------------------------------------------------------------------- | 0. Download Tor browser - https://www.torproject.org/ | 1. Install Tor browser | 2. Open Tor Browser | 3. Open link in TOR browser: http://gandcrabmfe6mnef.onion/1016d78c5fd14aeb | 4. Follow the instructions on this page ---------------------------------------------------------------------------------------- On our page you will see instructions on payment and get the opportunity to decrypt 1 file for free. ATTENTION! IN ORDER TO PREVENT DATA DAMAGE: * DO NOT MODIFY ENCRYPTED FILES * DO NOT CHANGE DATA BELOW ---BEGIN GANDCRAB KEY--- lAQAAGJntGd9GWB2N03h7yL8PSZfebImXkukE4AkMRsyAd5tSnfQkEkeg4oiTrmK9q3tn8UGzmd78D9cddwRq3K5ENrw6lthtjYL+Q8ZN1tl3o0e6NYf4VQDVGhjTq1tv1iL8DBceBQYeE6aUT6nYy+1qb8zPn9TLAoU5UlZ7lvGkSATf3Wrd8lGwP3ed+UN4GJDXOdpMTBI/tnoJwoL450rz96VKGfOQZWGOot/r1aB5R9fuEjfak3MSRZhb0UEUq/AIIPR+/dP6rtarnQCyIFAvDm6k8I5b9+TQJF1SPqRwUwya3pGOVP/MUHoZTU34G27YMpmF6SP0ewwSP6/aszQiAiLFks0PT+aC5GhDvi/tGxIb4ZI6RRGzaig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Br2rZ2gU1R7jNx2WKAyu4W+5zlHFnKwMISBi1CwemOo6FrxnP+Z5F9bSR7OvDBsmLj7oYD6GBgpBqj3RSAVfvfE0yZSXyCRtLeJfNANBiVqqMZqR+e3ObGfmdGR2kfUP9jy+PM0LOHjC6P0r1BW4eYoT03JrPa/L0B0wffnS0ez96BFoTHFq52HPDCx6yhEudvoPVoM6iaVy+mvqAdvYbwBrtoypS8P1fqlVzmT7qx4BOwxgT+wK0yub5gfz9wpLQCj3bimwDPi8jPeKPiggI2bWKz+7QkWvC2ihYFfEuZEtCM4ANvhw9QRIE71VUGcye6MeJ1R1l8/9eQQe20E3nSOCqHrLtcaPCWVcMp8LqMb9wmQcCuV87DWEYusQrSRnMKaOEJ8b8E061HMc3fS06JJDB/Fw4HhqAVwh0aPxJ3GvHUfm+rKP/M= ---END PC DATA---
URLs

http://gandcrabmfe6mnef.onion/1016d78c5fd14aeb

Extracted

Path

C:\Program Files\7-Zip\DECRYPT_YOUR_FILES.HTML

Ransom Note
<html> <head> <style> body{ background-color: #3366CC; } h1 { background-color: RGB(249, 201, 16); } p { background-color: maroon; color: white; } </style> </head> <body> <center> <h1><b> Attention ! All your files </b> have been encrypted. </h1></br> <p> Due encrypting was used algoritm RSA-4096 and AES-256, used for protection military secrets.</br> That means > RESTORE YOU DATA POSIBLE ONLY BUYING decryption passwords from us.</br> Getting a decryption of your files is - SIMPLY task.</br></br> That all what you need:</br> 1. Sent Your ID_KEY on mailbox [email protected] or [email protected] </br> 2. For test, decrypt 2 small files, to be sure that we can decrypt you files.</br> 3. Pay our services. </br> 4. GET software with passwords for decrypt you files.</br> 5. Make measures to prevent this type situations again.</br></br> IMPORTANT(1)</br> Do not try restore files without our help, this is useless, and can destroy you data permanetly.</br></br> IMPORTANT(2) </br> We Cant hold you decryption passwords forever. </br>ALL DECRYPTION PASSWORDS, for what wasn`t we receive reward, will destroy after week of moment of encryption. </p> <p> Your ID_KEY: <br> </p> <table width="1024" border="0"> <tbody> <tr> <td><p>RJhKVLNo769kiVwoJaH6m6Wt/uDeihwOFG1SHx76pV8xZy/Z4TEYtYre39VJir3goLCdC+AWX/7N2QA8CChqg0paH/3YUbu3pAaJiFIbnWoOPSxL0UxmLzAu80akwbU4Iq9AG1+aPaLk64IVA4j0RhMgJYpHyMm4ND28l62o7PR7dFVRMwGzv7FH5PBxq0LPb4HXM1OBU1me8zlARqEO1EN4AvGTjEr6kMNAGgkfXDRwkNpc4ZRwUwayQTP1WLha3+cx1L4bFKJ6MSJSy8De0LMpuTLBvLucr7ekHfvTodRTHrTaD913SFucdAG06fxGepD3296nvDBNLSEbEcpw/Q==ZW4tVVM=</p></td> </tr> </tbody> </table> </center></html></body>

Extracted

Path

C:\Program Files\7-Zip\DECRYPT_YOUR_FILES.HTML

Ransom Note
<html> <head> <style> body{ background-color: #3366CC; } h1 { background-color: RGB(249, 201, 16); } p { background-color: maroon; color: white; } </style> </head> <body> <center> <h1><b> Attention ! All your files </b> have been encrypted. </h1></br> <p> Due encrypting was used algoritm RSA-4096 and AES-256, used for protection military secrets.</br> That means > RESTORE YOU DATA POSIBLE ONLY BUYING decryption passwords from us.</br> Getting a decryption of your files is - SIMPLY task.</br></br> That all what you need:</br> 1. Sent Your ID_KEY on mailbox [email protected] or [email protected] </br> 2. For test, decrypt 2 small files, to be sure that we can decrypt you files.</br> 3. Pay our services. </br> 4. GET software with passwords for decrypt you files.</br> 5. Make measures to prevent this type situations again.</br></br> IMPORTANT(1)</br> Do not try restore files without our help, this is useless, and can destroy you data permanetly.</br></br> IMPORTANT(2) </br> We Cant hold you decryption passwords forever. </br>ALL DECRYPTION PASSWORDS, for what wasn`t we receive reward, will destroy after week of moment of encryption. </p> <p> Your ID_KEY: <br> </p> <table width="1024" border="0"> <tbody> <tr> <td><p>kjYV9SEnkMRysgdWebtPpnxCiAIJmtz6hTsxXzoyVdGS3CJm1/5G9wSzSO76ABfcadJZeo9cc07f8HR4FAHn8fvVGncaeYb66tC6bY/NDFq3KTGA4XRm07xz14jmEdVhwVelXiIgD8cgSXRgnEG3yTK9nJ4R+tmMdDLCqUI+vetkzO9Sqm8KnC4zTgwGIOmxEo32fV7d0KedoBJxP0dyhO0OXZ+4EBlVm8sT+Nd+SnvLoWIaV2ZUVkDnJvpElSe1smtobjwholKtBn7Czwom+u0kUphDB9xgDO7W5IOm0EZvSndo3pw29L3lVaH+Cg1Hlmh++u5N+VRIVE4feWF75Q==ZW4tVVM=</p></td> </tr> </tbody> </table> </center></html></body>

Extracted

Path

C:\Program Files\7-Zip\DECRYPT_YOUR_FILES.HTML

Ransom Note
<html> <head> <style> body{ background-color: #3366CC; } h1 { background-color: RGB(249, 201, 16); } p { background-color: maroon; color: white; } </style> </head> <body> <center> <h1><b> Attention ! All your files </b> have been encrypted. </h1></br> <p> Due encrypting was used algoritm RSA-4096 and AES-256, used for protection military secrets.</br> That means > RESTORE YOU DATA POSIBLE ONLY BUYING decryption passwords from us.</br> Getting a decryption of your files is - SIMPLY task.</br></br> That all what you need:</br> 1. Sent Your ID_KEY on mailbox [email protected] or [email protected] </br> 2. For test, decrypt 2 small files, to be sure that we can decrypt you files.</br> 3. Pay our services. </br> 4. GET software with passwords for decrypt you files.</br> 5. Make measures to prevent this type situations again.</br></br> IMPORTANT(1)</br> Do not try restore files without our help, this is useless, and can destroy you data permanetly.</br></br> IMPORTANT(2) </br> We Cant hold you decryption passwords forever. </br>ALL DECRYPTION PASSWORDS, for what wasn`t we receive reward, will destroy after week of moment of encryption. </p> <p> Your ID_KEY: <br> </p> <table width="1024" border="0"> <tbody> <tr> <td><p>c53ynDg4NiBlghXyL2XEZHNWgEmY2OKaudS8wZ/NRPJpKNNABbAs/nehtEFkapaA6jie0fSgO0opUkP4pbqEtjKt/GnFhyA5m9s597nwRcYY/5nZjtc3O4/nHAHhFgu4zNm3Xv68qiyMRfvRtjZgEC4LSVpCS7ihLETt47N/eNn+YfUY3mLC2r7QvBVtwsl1697ICfX48RyOL6Ejjlrwh68XToy1oxkLW3fd85qa91HebKN1MhzMfaWKI4fMHL9grDkgE3m1QlhYCmfguBurTsxnvl9S1OYBBv9C3HAEztH/zJC+/H+EyI8oi82tRr3GryS82Rf1XzQ1sVrUYRWBqg==ZW4tVVM=</p></td> </tr> </tbody> </table> </center></html></body>

Extracted

Path

C:\Program Files\7-Zip\DECRYPT_YOUR_FILES.HTML

Ransom Note
<html> <head> <style> body{ background-color: #3366CC; } h1 { background-color: RGB(249, 201, 16); } p { background-color: maroon; color: white; } </style> </head> <body> <center> <h1><b> Attention ! All your files </b> have been encrypted. </h1></br> <p> Due encrypting was used algoritm RSA-4096 and AES-256, used for protection military secrets.</br> That means > RESTORE YOU DATA POSIBLE ONLY BUYING decryption passwords from us.</br> Getting a decryption of your files is - SIMPLY task.</br></br> That all what you need:</br> 1. Sent Your ID_KEY on mailbox [email protected] or [email protected] </br> 2. For test, decrypt 2 small files, to be sure that we can decrypt you files.</br> 3. Pay our services. </br> 4. GET software with passwords for decrypt you files.</br> 5. Make measures to prevent this type situations again.</br></br> IMPORTANT(1)</br> Do not try restore files without our help, this is useless, and can destroy you data permanetly.</br></br> IMPORTANT(2) </br> We Cant hold you decryption passwords forever. </br>ALL DECRYPTION PASSWORDS, for what wasn`t we receive reward, will destroy after week of moment of encryption. </p> <p> Your ID_KEY: <br> </p> <table width="1024" border="0"> <tbody> <tr> <td><p>j29G+/zskl8xVp+ndn2Ouuejy/r0pfTsFteVMSGymAQu9vkfcgoCnUEY0eApYhS1wsS2+50yN4/NEQqnZE/ndQzRl8nNXHQ30HpQH5HQao2YQjT2sOXcTwuNnbKYAXV6m87Rn5K2f5uqYgTLrlJsfM0kLyS6hkypWEvQS24zt6YUj6NzWE/wTGcIuiDoNA4ZvQnO/z2EqkMqjmTVPlu3WV+RQsUUqjhiV5XsddX1RrEkR8y3P4xU3q+L6DrAKlD79geAdL9eXVPjiy1fnKw+bY/5rfBEhdntruUxReCBNxxqVZoKCkjExiWJxDCHNs9icu4ESp/OrmZgZyllDX1NCQ==ZW4tVVM=</p></td> </tr> </tbody> </table> </center></html></body>

Extracted

Path

C:\Program Files\7-Zip\DECRYPT_YOUR_FILES.HTML

Ransom Note
<html> <head> <style> body{ background-color: #3366CC; } h1 { background-color: RGB(249, 201, 16); } p { background-color: maroon; color: white; } </style> </head> <body> <center> <h1><b> Attention ! All your files </b> have been encrypted. </h1></br> <p> Due encrypting was used algoritm RSA-4096 and AES-256, used for protection military secrets.</br> That means > RESTORE YOU DATA POSIBLE ONLY BUYING decryption passwords from us.</br> Getting a decryption of your files is - SIMPLY task.</br></br> That all what you need:</br> 1. Sent Your ID_KEY on mailbox [email protected] or [email protected] </br> 2. For test, decrypt 2 small files, to be sure that we can decrypt you files.</br> 3. Pay our services. </br> 4. GET software with passwords for decrypt you files.</br> 5. Make measures to prevent this type situations again.</br></br> IMPORTANT(1)</br> Do not try restore files without our help, this is useless, and can destroy you data permanetly.</br></br> IMPORTANT(2) </br> We Cant hold you decryption passwords forever. </br>ALL DECRYPTION PASSWORDS, for what wasn`t we receive reward, will destroy after week of moment of encryption. </p> <p> Your ID_KEY: <br> </p> <table width="1024" border="0"> <tbody> <tr> <td><p>nRfvPPY2EfL3hIRk4WtB6WTrI415LzRAoiL/SJlyC9BVQ5BmC4pih9uMitrn9tut2S3GjpbAab31URxGlu/Ft6O2Y5Ep5L0W+HTIofQ1z13TbAPQ4/jjDYqWwMOUF4zu/XX9vGGpEFOrB3o+5iDCdT7tc9IUrE8n4jueh93IlgcgjThXddYKEno+79pYPAKMT9jLTLn3eqQYqqk7oE8nF4EtK2bwnlKp91TvSVDkrjo0aJ9BYrV2ZqKXEFgPw91XRqKNdlcrb6Hgg/joLptfMrhn7rEWWBwkJbV6wiFblt/KNR44A6DiEYqiEfNsryLkadn+iotMo/bFFjQRf4c7QA==ZW4tVVM=</p></td> </tr> </tbody> </table> </center></html></body>

Targets

    • Target

      https://github.com/enginestein/Virus-Collection/blob/main/Windows/Binaries/Ransomware/Dharma.exe

    • Fantom

      Ransomware which hides encryption process behind fake Windows Update screen.

    • Gandcrab

      Gandcrab is a Trojan horse that encrypts files on a computer.

    • Grants admin privileges

      Uses net.exe to modify the user's privileges.

    • Remote Service Session Hijacking: RDP Hijacking

      Adversaries may hijack a legitimate user's remote desktop session to move laterally within an environment.

    • Renames multiple (295) files with added filename extension

      This suggests ransomware activity of encrypting all the files on the system.

    • Disables Task Manager via registry modification

    • Downloads MZ/PE file

    • Modifies Windows Firewall

    • Sets file to hidden

      Modifies file attributes to stop it showing in Explorer etc.

    • Sets service image path in registry

    • Checks computer location settings

      Looks up country code configured in the registry, likely geofence.

    • Credentials from Password Stores: Windows Credential Manager

      Suspicious access to Credentials History.

    • Drops startup file

    • Executes dropped EXE

    • Impair Defenses: Safe Mode Boot

    • Reads user/profile data of web browsers

      Infostealers often target stored browser data, which can include saved credentials etc.

    • Enumerates connected drives

      Attempts to read the root path of hard drives other than the default C: drive.

    • Legitimate hosting services abused for malware hosting/C2

    • Password Policy Discovery

      Attempt to access detailed information about the password policy used within an enterprise network.

    • Hide Artifacts: Hidden Users

    • Sets desktop wallpaper using registry

MITRE ATT&CK Enterprise v15

Tasks