Analysis

  • max time kernel
    147s
  • max time network
    147s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    24-12-2024 11:04

General

  • Target

    JaffaCakes118_4e370c11ec3d5490a4f08c8f25219cd96b3098e619380317bf92d04e8374ebf2.exe

  • Size

    146KB

  • MD5

    f5339fab992d8d5dc0e4106fb8b5b899

  • SHA1

    cf0665860499961a9f5e1ef8d878b79684f8dca2

  • SHA256

    4e370c11ec3d5490a4f08c8f25219cd96b3098e619380317bf92d04e8374ebf2

  • SHA512

    22f068ada213227ac68c9d285331a0bbb82284c9dd73314a0df8bd5d9e5cf467c655efb3bf62d67ef5eef218b2b517c2b83e6e861476524dcd431cf4f164e370

  • SSDEEP

    3072:yMh6zd/diHv43x+rCV5EJLMhxZG/qfPJA5FHJATz:yg6R/dkv43GCP8tqf+5FGP

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.

  • Tofsee family
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4e370c11ec3d5490a4f08c8f25219cd96b3098e619380317bf92d04e8374ebf2.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4e370c11ec3d5490a4f08c8f25219cd96b3098e619380317bf92d04e8374ebf2.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2384
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\npxvbbof\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3032
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cfygegoy.exe" C:\Windows\SysWOW64\npxvbbof\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2128
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create npxvbbof binPath= "C:\Windows\SysWOW64\npxvbbof\cfygegoy.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4e370c11ec3d5490a4f08c8f25219cd96b3098e619380317bf92d04e8374ebf2.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2496
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description npxvbbof "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2240
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start npxvbbof
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2696
    • 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:2820
  • C:\Windows\SysWOW64\npxvbbof\cfygegoy.exe
    C:\Windows\SysWOW64\npxvbbof\cfygegoy.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4e370c11ec3d5490a4f08c8f25219cd96b3098e619380317bf92d04e8374ebf2.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2792
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2876

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.3MB

    MD5

    d4f9cc7065dd1c67479594ddb1d86dc3

    SHA1

    c3208ac47c293d3c3ad2841f3a73b7aa5e60ccdd

    SHA256

    1931409cb42c356c1b820fb280dadb63c77992ad192477c30c0a558331da62be

    SHA512

    929747bd08232200a8f56ed35b58ab9be468243692b72c8d96790e021f589070ea786135ec099c8ca36a98e6ba78638e5a158aec4f6ed704f6b1f31431a38b52

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2384-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2384-8-0x0000000000400000-0x00000000004AB000-memory.dmp

    Filesize

    684KB

  • memory/2384-9-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2384-1-0x0000000000620000-0x0000000000720000-memory.dmp

    Filesize

    1024KB

  • memory/2792-17-0x0000000000400000-0x00000000004AB000-memory.dmp

    Filesize

    684KB

  • memory/2876-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2876-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2876-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2876-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2876-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB