Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    29-12-2024 06:16

General

  • Target

    JaffaCakes118_70c568476aba5ca1e604d7db73d171be61a8df792fd798a76a14c8d9e510a248.exe

  • Size

    138KB

  • MD5

    26b7ae3bc5b08c57a8fabd30e42e2d56

  • SHA1

    23821aa60da21917095f294c5315f3ef7c4a3a19

  • SHA256

    70c568476aba5ca1e604d7db73d171be61a8df792fd798a76a14c8d9e510a248

  • SHA512

    9e890c9476feca005bc41fa84c50533a2a7af2ccef3f1a1e394b26cd02c009450a2139db3d829fa1f338f2f882d53ac1a24ff6575c5296fb1611ca3bae4e930d

  • SSDEEP

    1536:oskF/KbaP0eEGzXLRfduoenpLbrtl2fx85W+esR55ZRjlcs9jU+x0n:3kseEGrFQnxb6f7FS55HjGs9j4

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_70c568476aba5ca1e604d7db73d171be61a8df792fd798a76a14c8d9e510a248.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_70c568476aba5ca1e604d7db73d171be61a8df792fd798a76a14c8d9e510a248.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1940
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xbkhzffw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2828
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pbichnai.exe" C:\Windows\SysWOW64\xbkhzffw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2944
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xbkhzffw binPath= "C:\Windows\SysWOW64\xbkhzffw\pbichnai.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_70c568476aba5ca1e604d7db73d171be61a8df792fd798a76a14c8d9e510a248.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3036
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xbkhzffw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2752
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xbkhzffw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2548
    • 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:2832
  • C:\Windows\SysWOW64\xbkhzffw\pbichnai.exe
    C:\Windows\SysWOW64\xbkhzffw\pbichnai.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_70c568476aba5ca1e604d7db73d171be61a8df792fd798a76a14c8d9e510a248.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2240
    • 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:2656

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.7MB

    MD5

    e6b3b8e196e37251379f2b25a8b6f450

    SHA1

    f6efbd1ff984910158a1515259bf909bea1f2acc

    SHA256

    0a0d46cb31bc525c598fbfd4a1741654bdd994fb072f36a2e590010ac9c3de03

    SHA512

    954ac7afdb964f44c50491da77440da97201ac22f7c2b669e6b4262e5ea0c81e89d67f61b5803d6153e7475b51a1b57d215d804fcbb69e9fa6eb7ad52249c47f

  • memory/1940-1-0x00000000002B0000-0x00000000003B0000-memory.dmp

    Filesize

    1024KB

  • memory/1940-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1940-4-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

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

    Filesize

    84KB

  • memory/1940-9-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

  • memory/2240-17-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB