Analysis

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

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

General

  • Target

    JaffaCakes118_a36d863f97755c43149b33e14b468f5227796c563a7d8cc4b7802e5a05899436.exe

  • Size

    165KB

  • MD5

    9659c961b58202bc02849a619f0301cc

  • SHA1

    874143f8e0d3fbe239b53e93635368e9cf600aaa

  • SHA256

    a36d863f97755c43149b33e14b468f5227796c563a7d8cc4b7802e5a05899436

  • SHA512

    cd8016808d502de4b223d6789e864a3623dec43ffa0dac7a5fc088d2f00b69141bd54e9af020c43ec2dfe7c6be6e53f9fd83a65683311dee03751edd0ad4f097

  • SSDEEP

    3072:wVebA+J1ZB4rE7coWgd+P+QKcdqd0Tnsie492:nbAS1Z+owoB06jusyk

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.ru

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_a36d863f97755c43149b33e14b468f5227796c563a7d8cc4b7802e5a05899436.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a36d863f97755c43149b33e14b468f5227796c563a7d8cc4b7802e5a05899436.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1692
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bzwxrdmw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2544
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qfgmzked.exe" C:\Windows\SysWOW64\bzwxrdmw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2108
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bzwxrdmw binPath= "C:\Windows\SysWOW64\bzwxrdmw\qfgmzked.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a36d863f97755c43149b33e14b468f5227796c563a7d8cc4b7802e5a05899436.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2384
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bzwxrdmw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2352
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bzwxrdmw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2872
    • 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:2764
  • C:\Windows\SysWOW64\bzwxrdmw\qfgmzked.exe
    C:\Windows\SysWOW64\bzwxrdmw\qfgmzked.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a36d863f97755c43149b33e14b468f5227796c563a7d8cc4b7802e5a05899436.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2928
    • 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:2308

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.1MB

    MD5

    16a4a0ac8002238070180e142df43ac1

    SHA1

    f7638cd2875c782663d1a68462ef15b77028871a

    SHA256

    992ce1aeb043ba12920d9292966d354118f8eb21551d3bd5744f28fb1f999487

    SHA512

    9d4955d350463a9412a03b0b7c6c9b5118882f858925e36bfff27cfde33eeafcc53a3810434343ccbf09066811a97dd22f2e1deb1b27d2023a62ac97002674ae

  • memory/1692-7-0x0000000000220000-0x000000000022D000-memory.dmp

    Filesize

    52KB

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

    Filesize

    84KB

  • memory/1692-1-0x0000000000230000-0x0000000000243000-memory.dmp

    Filesize

    76KB

  • memory/1692-9-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1692-8-0x0000000000230000-0x0000000000243000-memory.dmp

    Filesize

    76KB

  • memory/1692-0-0x0000000000220000-0x000000000022D000-memory.dmp

    Filesize

    52KB

  • memory/1692-6-0x0000000000400000-0x0000000000431000-memory.dmp

    Filesize

    196KB

  • memory/2308-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2308-13-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2308-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2308-10-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2308-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2928-16-0x0000000000400000-0x0000000000431000-memory.dmp

    Filesize

    196KB