Analysis

  • max time kernel
    145s
  • max time network
    144s
  • platform
    windows7_x64
  • resource
    win7-20240729-en
  • resource tags

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    21-12-2024 22:24

General

  • Target

    JaffaCakes118_82e5672e4354e66588d70ab01d6323a07e88e3acab3fbf89b3866982a50f3721.exe

  • Size

    243KB

  • MD5

    0fba569148e3b4758882dca911ad7fa8

  • SHA1

    09c8755dfe3f733d5deaafe60ad92b47907f7d9c

  • SHA256

    82e5672e4354e66588d70ab01d6323a07e88e3acab3fbf89b3866982a50f3721

  • SHA512

    4af517ba9d0b30fe49bbcc69adc71357f2c19b48870366a97f8c1a19627ecc811233cac98395a16694cbc2409f1e85d921e14775507a42c36d491013faca681b

  • SSDEEP

    6144:DQZQphhKlXyYNadG6717PUJN5xmCos7SmQ751CetXH:sZDXyYNaT7cHLosSlh

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_82e5672e4354e66588d70ab01d6323a07e88e3acab3fbf89b3866982a50f3721.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_82e5672e4354e66588d70ab01d6323a07e88e3acab3fbf89b3866982a50f3721.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2524
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qanfdvgi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1980
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vlllarxp.exe" C:\Windows\SysWOW64\qanfdvgi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2436
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qanfdvgi binPath= "C:\Windows\SysWOW64\qanfdvgi\vlllarxp.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_82e5672e4354e66588d70ab01d6323a07e88e3acab3fbf89b3866982a50f3721.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2696
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qanfdvgi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2736
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qanfdvgi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2828
    • 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:2220
  • C:\Windows\SysWOW64\qanfdvgi\vlllarxp.exe
    C:\Windows\SysWOW64\qanfdvgi\vlllarxp.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_82e5672e4354e66588d70ab01d6323a07e88e3acab3fbf89b3866982a50f3721.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2760
    • 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:3000

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.5MB

    MD5

    9379a07278ab7487ff566e2cda3b35f7

    SHA1

    a36581a26a6bbac8cf38c526b4830ddd077d2e37

    SHA256

    9c68b79a51fbccacbbb3fc8f9d9f6899c4b0422e859ce6120293ea08a513c07b

    SHA512

    32bde95dce2a47e785304f151192c544c7fe9b430c08db828d40f2ff12c211c2bc6a0c76a142fce1a39ad424004d6fa2480df59d688c844e2f7656fd1f7f7bc2

  • memory/2524-8-0x0000000000400000-0x000000000044D000-memory.dmp

    Filesize

    308KB

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

    Filesize

    84KB

  • memory/2524-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2524-9-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2524-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

    Filesize

    1024KB

  • memory/2760-17-0x0000000000400000-0x000000000044D000-memory.dmp

    Filesize

    308KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB