Analysis

  • max time kernel
    147s
  • max time network
    155s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-09-2024 18:10

General

  • Target

    02a4be2bb32a8c16aeccc58a036fb973_JaffaCakes118.exe

  • Size

    238KB

  • MD5

    02a4be2bb32a8c16aeccc58a036fb973

  • SHA1

    108b94317a15d4b268130d3028e46b66ed82ae07

  • SHA256

    17c8e089ef56e32ac844760c25000893f39816928a17758bb9ebef6b253ddf9c

  • SHA512

    56ca2e2b277f6a4a9c4d8d143efa9086d1f08caa4a61dddd5268b8cf0aba49862d9d36c285aacef89980e9a0a21e70ed5672210f1bd51f555334be4388bebf3a

  • SSDEEP

    6144:xeaRFeYiZtnsLs/Xyihb124uKPoifbY/3sGIU5N5:xF7/iZtRXpu3ijwf5T

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\02a4be2bb32a8c16aeccc58a036fb973_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\02a4be2bb32a8c16aeccc58a036fb973_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4552
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jpmmvuxc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1680
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cjmkllbp.exe" C:\Windows\SysWOW64\jpmmvuxc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3352
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jpmmvuxc binPath= "C:\Windows\SysWOW64\jpmmvuxc\cjmkllbp.exe /d\"C:\Users\Admin\AppData\Local\Temp\02a4be2bb32a8c16aeccc58a036fb973_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4960
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jpmmvuxc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jpmmvuxc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4836
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:3476
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4552 -s 1228
      2⤵
      • Program crash
      PID:1608
  • C:\Windows\SysWOW64\jpmmvuxc\cjmkllbp.exe
    C:\Windows\SysWOW64\jpmmvuxc\cjmkllbp.exe /d"C:\Users\Admin\AppData\Local\Temp\02a4be2bb32a8c16aeccc58a036fb973_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3820
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:712
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3820 -s 516
      2⤵
      • Program crash
      PID:1592
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4552 -ip 4552
    1⤵
      PID:4576
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3820 -ip 3820
      1⤵
        PID:2436

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.9MB

        MD5

        a5885a3584a6d7147f9dccfb47cb5a9a

        SHA1

        88dfba81fb75e3e66de751fde1b763036067600d

        SHA256

        d04428331cd26f49b6c273b3e940896d765530ee39ec22bfae109494074152b0

        SHA512

        d2958d25bbc12f5663fb8c7c3471167c93e5cf2d378840c78952f24df65ba9996706bbbfd8dd199b68ac8b75aabb24e5f181f32b2c980a3afc84936a8bfc4675

      • memory/712-12-0x0000000001030000-0x0000000001045000-memory.dmp

        Filesize

        84KB

      • memory/712-17-0x0000000001030000-0x0000000001045000-memory.dmp

        Filesize

        84KB

      • memory/712-14-0x0000000001030000-0x0000000001045000-memory.dmp

        Filesize

        84KB

      • memory/3820-15-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/3820-11-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/3820-16-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/3820-19-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/4552-9-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

      • memory/4552-8-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/4552-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4552-1-0x00000000009D0000-0x0000000000AD0000-memory.dmp

        Filesize

        1024KB

      • memory/4552-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4552-2-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB