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
    29-12-2024 11:30

General

  • Target

    JaffaCakes118_621af9ea3a44e4fab71237e384a0ca3808339d2d566a1b0144af74fe9d48bd02.exe

  • Size

    220KB

  • MD5

    5c43af858cebe82b1ad78c645061cc44

  • SHA1

    5babb64955d52797a58604a9aef14d689e90d35f

  • SHA256

    621af9ea3a44e4fab71237e384a0ca3808339d2d566a1b0144af74fe9d48bd02

  • SHA512

    2d2c7e9483b0b13dd8cabbbc5d1218fe0acdac78f1c676c8fc302e91c3d11cf44ea5f2c3ea53bbfa125e60769f1c99b0da9e27fc05c7f2a743116915aec39c60

  • SSDEEP

    3072:IUlCE+24yRwiP95GXu0bJ/rWrxpzbgqru+sxkgaBChmx/LI03qbN:ZV+Tybjijuzbgwu7igaQk

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_621af9ea3a44e4fab71237e384a0ca3808339d2d566a1b0144af74fe9d48bd02.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_621af9ea3a44e4fab71237e384a0ca3808339d2d566a1b0144af74fe9d48bd02.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2400
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\reheurhg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2380
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\joyoch.exe" C:\Windows\SysWOW64\reheurhg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2908
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create reheurhg binPath= "C:\Windows\SysWOW64\reheurhg\joyoch.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_621af9ea3a44e4fab71237e384a0ca3808339d2d566a1b0144af74fe9d48bd02.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:492
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description reheurhg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2868
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start reheurhg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2884
    • 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:2360
  • C:\Windows\SysWOW64\reheurhg\joyoch.exe
    C:\Windows\SysWOW64\reheurhg\joyoch.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_621af9ea3a44e4fab71237e384a0ca3808339d2d566a1b0144af74fe9d48bd02.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2752
    • 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:2808

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.7MB

    MD5

    df2ccbd756901ebe0e831e8cabc92a04

    SHA1

    7b9f1f301be5c5a9643a64b994f28a367a1f690a

    SHA256

    981c1674f1e52792bb49c2ec1b78caebc6f1a34e2b4342c9c804142eddcfb9db

    SHA512

    370901014457256945b26e35a1dd37d437ba93beca06c1bf0e2d1f2661a57136c4aeb6c993a2580ec54b08dd27de26eab12312c555a56ef5b8a9c30011272250

  • memory/2400-8-0x0000000000260000-0x0000000000273000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2400-1-0x0000000000260000-0x0000000000273000-memory.dmp

    Filesize

    76KB

  • memory/2400-6-0x0000000000400000-0x0000000000441000-memory.dmp

    Filesize

    260KB

  • memory/2400-7-0x00000000001B0000-0x00000000001BD000-memory.dmp

    Filesize

    52KB

  • memory/2400-0-0x00000000001B0000-0x00000000001BD000-memory.dmp

    Filesize

    52KB

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

    Filesize

    84KB

  • memory/2752-16-0x0000000000400000-0x0000000000441000-memory.dmp

    Filesize

    260KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB