Analysis

  • max time kernel
    148s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-12-2024 23:33

General

  • Target

    JaffaCakes118_b795f0e271a1bd7fc188917caa65ea765c83ffa1ce5dd48d2a5ee3c036562959.exe

  • Size

    211KB

  • MD5

    9665aea33b898abe45a17f0a37ddada2

  • SHA1

    a3fcb62d1007a17387827d5562c08defa2c2768d

  • SHA256

    b795f0e271a1bd7fc188917caa65ea765c83ffa1ce5dd48d2a5ee3c036562959

  • SHA512

    6fd6d11effc468b4c25cb0dac504057ebb59219a51ff3dd6cc87ac599111b266f11f3cb3a736b4fa1afde2a71e4c9b6700914631b2a445b5e0a31b1418c1f524

  • SSDEEP

    3072:3prJOGCT28OJwIvGvt1LpqC6mcLsRuR5WHeHruAZPwOxAV6fjMfvNZhgC:3prsoJwIvaLpqCIAKWHnALNjMfv5

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
  • 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 1 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\JaffaCakes118_b795f0e271a1bd7fc188917caa65ea765c83ffa1ce5dd48d2a5ee3c036562959.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b795f0e271a1bd7fc188917caa65ea765c83ffa1ce5dd48d2a5ee3c036562959.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1596
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qtsaeeff\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1088
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bnifmllz.exe" C:\Windows\SysWOW64\qtsaeeff\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1440
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qtsaeeff binPath= "C:\Windows\SysWOW64\qtsaeeff\bnifmllz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b795f0e271a1bd7fc188917caa65ea765c83ffa1ce5dd48d2a5ee3c036562959.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4336
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qtsaeeff "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4976
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qtsaeeff
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2424
    • 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:3068
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1596 -s 1044
      2⤵
      • Program crash
      PID:3828
  • C:\Windows\SysWOW64\qtsaeeff\bnifmllz.exe
    C:\Windows\SysWOW64\qtsaeeff\bnifmllz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b795f0e271a1bd7fc188917caa65ea765c83ffa1ce5dd48d2a5ee3c036562959.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2016
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5008
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1596 -ip 1596
    1⤵
      PID:2560

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      Filesize

      12.2MB

      MD5

      00b4456d2af6bcfb71b7d6194d316687

      SHA1

      fead6acc9db99f963053ded49441efa63256e6fb

      SHA256

      2543358efabd2dc79a198b5f8d48863bc60ad8b4c87e2ec8fe375d8f0ba40ba3

      SHA512

      dc895033a1e6ff60a0a05bc0ead538e99137f6bea922cb2dc8e351bd8973193beef8dc24261885a536c9489aaf1ef18aba19edf62c778f94546d8d92d86936ad

    • memory/1596-1-0x0000000002D40000-0x0000000002E40000-memory.dmp

      Filesize

      1024KB

    • memory/1596-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

      Filesize

      76KB

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

      Filesize

      84KB

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

      Filesize

      84KB

    • memory/1596-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

      Filesize

      76KB

    • memory/1596-8-0x0000000000400000-0x0000000002B74000-memory.dmp

      Filesize

      39.5MB

    • memory/2016-14-0x0000000000400000-0x0000000002B74000-memory.dmp

      Filesize

      39.5MB

    • memory/5008-11-0x0000000000B20000-0x0000000000B35000-memory.dmp

      Filesize

      84KB

    • memory/5008-13-0x0000000000B20000-0x0000000000B35000-memory.dmp

      Filesize

      84KB

    • memory/5008-15-0x0000000000B20000-0x0000000000B35000-memory.dmp

      Filesize

      84KB