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
    30-12-2024 23:34

General

  • Target

    JaffaCakes118_bdd7f1c254d2bd154445ab9f0dfb1213c30ffd241720862b5ad561fa1ad198fd.exe

  • Size

    138KB

  • MD5

    b9a33b8cb9f482ff1cb3774e97ead4dd

  • SHA1

    0ba07890880d2d95f45d7c34bba682c1cc66b646

  • SHA256

    bdd7f1c254d2bd154445ab9f0dfb1213c30ffd241720862b5ad561fa1ad198fd

  • SHA512

    544bab5b54ce30cdf91ea970821d4314c34d002d81a139a2ce17eaa7e7997ceb391e19cdb4c44690e0246b51de5e77d0577c3a239996d7b23cf2c6b0515f32fd

  • SSDEEP

    3072:XkhQBATi5WIOdtW3yHFJ55yHNq9MvsTuR6:XnYi51WYq9Mvuu

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_bdd7f1c254d2bd154445ab9f0dfb1213c30ffd241720862b5ad561fa1ad198fd.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bdd7f1c254d2bd154445ab9f0dfb1213c30ffd241720862b5ad561fa1ad198fd.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2332
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ctfvfrqs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2316
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qktdqtyk.exe" C:\Windows\SysWOW64\ctfvfrqs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2480
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ctfvfrqs binPath= "C:\Windows\SysWOW64\ctfvfrqs\qktdqtyk.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bdd7f1c254d2bd154445ab9f0dfb1213c30ffd241720862b5ad561fa1ad198fd.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ctfvfrqs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2716
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ctfvfrqs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2856
    • 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:2840
  • C:\Windows\SysWOW64\ctfvfrqs\qktdqtyk.exe
    C:\Windows\SysWOW64\ctfvfrqs\qktdqtyk.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bdd7f1c254d2bd154445ab9f0dfb1213c30ffd241720862b5ad561fa1ad198fd.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2732
    • 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:2644

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.4MB

    MD5

    5d99d78a7f6034cb9d9f133cdee0e30e

    SHA1

    600674c88fdab9e58eefb4ce255b33374ffc5bd8

    SHA256

    b226513dc1713b7b978f9178b506c32ae74292637a86df5eaa68c8fc0adf23ef

    SHA512

    80949c1ec4727591cc841a75211dfbeff189c5e3c43127d39f8fb2bacfbfc56275981eeb1a063e560a5c66c81c1172bc85b07e486fbd95dcba6628f09e02eecb

  • memory/2332-8-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2332-1-0x0000000000680000-0x0000000000780000-memory.dmp

    Filesize

    1024KB

  • memory/2644-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2644-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2644-16-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2644-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    676KB