Analysis

  • max time kernel
    150s
  • max time network
    140s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-03-2024 18:19

General

  • Target

    4153138038dc186fcd06928b98c65711_JaffaCakes118.exe

  • Size

    847KB

  • MD5

    4153138038dc186fcd06928b98c65711

  • SHA1

    fc8cbc76740f9392b4a6e5afe5948b80f1db4b12

  • SHA256

    01e497d51a214d7797731e8e8d139a6bd9b916a48a03e58369fb5f17a6eeae58

  • SHA512

    85722c28206056e3321656fd36ed2f31c750ee34d090248fb3c58fbfcd1d9d6c63ed2460db3f84f7705e16e58f0532befa7947d68bd1d86db169915d0417b93d

  • SSDEEP

    24576:L+N8DZJjFtn9ARXazFZI7/CAcbGo4VGG/jf7lZiE3h:CKrpB9aqz/m/wGo4VvrT

Malware Config

Extracted

Family

mercurialgrabber

C2

https://canary.discord.com/api/webhooks/895315179913506846/STYRG4qBz1rwgpgGv-7R9X23l5u2O51IT3n2KCmetw8D3lBRIjy8wj8Pa-Rf0p_PoW7C

Signatures

  • Mercurial Grabber Stealer

    Mercurial Grabber is an open source stealer targeting Chrome, Discord and some game clients as well as generic system information.

  • Looks for VirtualBox Guest Additions in registry 2 TTPs 1 IoCs
  • Looks for VMWare Tools registry key 2 TTPs 1 IoCs
  • Checks BIOS information in registry 2 TTPs 1 IoCs

    BIOS information is often read in order to detect sandboxing environments.

  • Checks computer location settings 2 TTPs 3 IoCs

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

  • Executes dropped EXE 3 IoCs
  • Reads user/profile data of web browsers 2 TTPs

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

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Looks up external IP address via web service 3 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Maps connected drives based on registry 3 TTPs 2 IoCs

    Disk information is often read in order to detect sandboxing environments.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Checks SCSI registry key(s) 3 TTPs 1 IoCs

    SCSI information is often read in order to detect sandboxing environments.

  • Checks processor information in registry 2 TTPs 2 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Enumerates system info in registry 2 TTPs 4 IoCs
  • Modifies registry class 2 IoCs
  • Modifies system certificate store 2 TTPs 5 IoCs
  • Suspicious behavior: EnumeratesProcesses 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 16 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\4153138038dc186fcd06928b98c65711_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\4153138038dc186fcd06928b98c65711_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Modifies registry class
    • Suspicious use of WriteProcessMemory
    PID:2548
    • C:\Windows\System32\WScript.exe
      "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\Pafqgbwvxj.vbs"
      2⤵
        PID:372
      • C:\Users\Admin\AppData\Local\Temp\Nvbv.exe
        "C:\Users\Admin\AppData\Local\Temp\Nvbv.exe"
        2⤵
        • Looks for VirtualBox Guest Additions in registry
        • Looks for VMWare Tools registry key
        • Checks BIOS information in registry
        • Executes dropped EXE
        • Maps connected drives based on registry
        • Checks SCSI registry key(s)
        • Checks processor information in registry
        • Enumerates system info in registry
        • Modifies system certificate store
        • Suspicious use of AdjustPrivilegeToken
        PID:3368
      • C:\Users\Admin\AppData\Local\Temp\Ywproz.exe
        "C:\Users\Admin\AppData\Local\Temp\Ywproz.exe"
        2⤵
        • Checks computer location settings
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Modifies registry class
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:4088
        • C:\Windows\System32\WScript.exe
          "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\_Iadywdc.vbs"
          3⤵
          • Checks computer location settings
          • Suspicious use of WriteProcessMemory
          PID:2236
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set-MpPreference -ExclusionPath C:\,'C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Google\Chrome.exe'
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:3384
        • C:\Users\Admin\AppData\Local\Temp\Ywproz.exe
          C:\Users\Admin\AppData\Local\Temp\Ywproz.exe
          3⤵
          • Executes dropped EXE
          • Adds Run key to start application
          • Suspicious use of AdjustPrivilegeToken
          PID:4316

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\Ywproz.exe.log

      Filesize

      425B

      MD5

      fff5cbccb6b31b40f834b8f4778a779a

      SHA1

      899ed0377e89f1ed434cfeecc5bc0163ebdf0454

      SHA256

      b8f7e4ed81764db56b9c09050f68c5a26af78d8a5e2443e75e0e1aa7cd2ccd76

      SHA512

      1a188a14c667bc31d2651b220aa762be9cce4a75713217846fbe472a307c7bbc6e3c27617f75f489902a534d9184648d204d03ee956ac57b11aa90551248b8f9

    • C:\Users\Admin\AppData\Local\Temp\Nvbv.exe

      Filesize

      41KB

      MD5

      56f8d6aeb8c9b64f2023a1e0a6fb89c0

      SHA1

      bb67276f373567137c7b6913f99019369bfc8bc6

      SHA256

      ae330dbabbfd4ee517e3cdfc0247cdd594368e7ddf4f5d31d9d75a46d2aa0813

      SHA512

      42fd48cb8a09322438ffd8a12c7cbe2e2668a271d1a5f36d21abdca70bd07f30d0898299310c4cb916ba08c8e4d185f42d24e589f3ac00de014502a3c803728a

    • C:\Users\Admin\AppData\Local\Temp\Pafqgbwvxj.vbs

      Filesize

      386B

      MD5

      3f6930f09245e83e2ac7a2f311fe2865

      SHA1

      eb0e650b93df8d3f3e8f7957471a9f79cdf518dd

      SHA256

      33942d1f649815f73fa6a169bbbfd89f8927709dd4155247b5bc687473c4df20

      SHA512

      d74895b992405e05387f6867a48dc9bbb95d4a588a28dbede12ef3a760c3c6fc712195e715a556a05dccc6630b551a50b421e9104ba33417fee94e5b084bdbc0

    • C:\Users\Admin\AppData\Local\Temp\Ywproz.exe

      Filesize

      1.2MB

      MD5

      0fc1c56eab1b44a7c26e145cfed38530

      SHA1

      328aa71a40602486688713a33d2d79c4c18dfcfa

      SHA256

      f5cba6d250204430a6db9b931d64bc2a141ec3de7ac6abdbc4d4d42d66234acf

      SHA512

      2436a20476ca80c7205b23612ca4b23148b019a806737a4f5df03a2c3eff841521e3a8173f3ffee950bddb6d8517985f9b94c973d069f09a4402386ac3bdba51

    • C:\Users\Admin\AppData\Local\Temp\_Iadywdc.vbs

      Filesize

      181B

      MD5

      7bc7186509a27236d34b7fc21fb41d13

      SHA1

      510482cb13d8b13213ae98423827b4ba03a8f82a

      SHA256

      7f356e00d9d0901c6909b37456cc9842b0dc999d68dc27bbab4478699d7a0609

      SHA512

      5f3f5a3cf25fbfe4d1b75aee6c8fe8a9f2f7e628fb34f437859a9c0df5538efc62e2f96221225ab0b402f83e50c8720b6ea7534149aeab064553e06645da025e

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_21o4w1sx.sbe.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • memory/2548-31-0x00007FFF986A0000-0x00007FFF99161000-memory.dmp

      Filesize

      10.8MB

    • memory/2548-0-0x0000000000DF0000-0x0000000000ECA000-memory.dmp

      Filesize

      872KB

    • memory/2548-1-0x00007FFF986A0000-0x00007FFF99161000-memory.dmp

      Filesize

      10.8MB

    • memory/2548-2-0x000000001BC40000-0x000000001BC50000-memory.dmp

      Filesize

      64KB

    • memory/3368-33-0x0000000000B50000-0x0000000000B60000-memory.dmp

      Filesize

      64KB

    • memory/3368-34-0x00007FFF986A0000-0x00007FFF99161000-memory.dmp

      Filesize

      10.8MB

    • memory/3368-35-0x000000001B840000-0x000000001B850000-memory.dmp

      Filesize

      64KB

    • memory/3368-41-0x00007FFF986A0000-0x00007FFF99161000-memory.dmp

      Filesize

      10.8MB

    • memory/3384-68-0x000001F27F300000-0x000001F27F310000-memory.dmp

      Filesize

      64KB

    • memory/3384-71-0x00007FFF986A0000-0x00007FFF99161000-memory.dmp

      Filesize

      10.8MB

    • memory/3384-56-0x000001F27F480000-0x000001F27F4A2000-memory.dmp

      Filesize

      136KB

    • memory/3384-62-0x00007FFF986A0000-0x00007FFF99161000-memory.dmp

      Filesize

      10.8MB

    • memory/3384-67-0x000001F27F300000-0x000001F27F310000-memory.dmp

      Filesize

      64KB

    • memory/4088-43-0x000000001B7F0000-0x000000001B8B2000-memory.dmp

      Filesize

      776KB

    • memory/4088-49-0x000000001DB50000-0x000000001DBD0000-memory.dmp

      Filesize

      512KB

    • memory/4088-42-0x00007FFF986A0000-0x00007FFF99161000-memory.dmp

      Filesize

      10.8MB

    • memory/4088-30-0x00007FFF986A0000-0x00007FFF99161000-memory.dmp

      Filesize

      10.8MB

    • memory/4088-55-0x00007FFF986A0000-0x00007FFF99161000-memory.dmp

      Filesize

      10.8MB

    • memory/4088-29-0x0000000000050000-0x000000000017E000-memory.dmp

      Filesize

      1.2MB

    • memory/4316-75-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-107-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-72-0x0000000003030000-0x00000000030B8000-memory.dmp

      Filesize

      544KB

    • memory/4316-73-0x0000000003100000-0x0000000003110000-memory.dmp

      Filesize

      64KB

    • memory/4316-74-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-77-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-79-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-50-0x0000000140000000-0x0000000140086000-memory.dmp

      Filesize

      536KB

    • memory/4316-81-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-95-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-93-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-99-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-97-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-91-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-89-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-101-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-87-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-85-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-103-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-83-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-105-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-54-0x00007FFF986A0000-0x00007FFF99161000-memory.dmp

      Filesize

      10.8MB

    • memory/4316-109-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-111-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-113-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-115-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-117-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-119-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-121-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-123-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-125-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-127-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-129-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-131-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-133-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-135-0x0000000003030000-0x00000000030B5000-memory.dmp

      Filesize

      532KB

    • memory/4316-520-0x0000000003110000-0x0000000003162000-memory.dmp

      Filesize

      328KB

    • memory/4316-521-0x0000000003160000-0x000000000316C000-memory.dmp

      Filesize

      48KB

    • memory/4316-522-0x000000001D650000-0x000000001D6A4000-memory.dmp

      Filesize

      336KB

    • memory/4316-523-0x000000001DAA0000-0x000000001DAEC000-memory.dmp

      Filesize

      304KB

    • memory/4316-527-0x00007FFF986A0000-0x00007FFF99161000-memory.dmp

      Filesize

      10.8MB

    • memory/4316-528-0x0000000003100000-0x0000000003110000-memory.dmp

      Filesize

      64KB