Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    26/12/2024, 20:18

General

  • Target

    JaffaCakes118_4d9b3eaae7f591289d07eb6df10c78b68ad583b011ece723d4aaa669e19d8e58.exe

  • Size

    286KB

  • MD5

    30f334034890bf4e9978e88c3a8d289e

  • SHA1

    c01f11ade66a776369c5e661ade581f5141f7e53

  • SHA256

    4d9b3eaae7f591289d07eb6df10c78b68ad583b011ece723d4aaa669e19d8e58

  • SHA512

    b3278c0ffca87a27d3bc80743a80b830cf94d88bee4791e21d1a0d9f31d719593e993ca897e86cb0d2b9262745bad7a5db04feab3ec2ad0de5640131863fc774

  • SSDEEP

    3072:FFVyYf0kx6mLP1mrJpQ6mld1JCHyOzoLOS7XuWVOO5Z8jVw7DWk7MW+CJUBU4wuj:7Smz1UJ50JCHyU0XGUZiVOCYBJh4b

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_4d9b3eaae7f591289d07eb6df10c78b68ad583b011ece723d4aaa669e19d8e58.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4d9b3eaae7f591289d07eb6df10c78b68ad583b011ece723d4aaa669e19d8e58.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1708
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lmgcxokj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3028
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\afpfty.exe" C:\Windows\SysWOW64\lmgcxokj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2156
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lmgcxokj binPath= "C:\Windows\SysWOW64\lmgcxokj\afpfty.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4d9b3eaae7f591289d07eb6df10c78b68ad583b011ece723d4aaa669e19d8e58.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2188
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lmgcxokj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lmgcxokj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2684
    • 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:2908
  • C:\Windows\SysWOW64\lmgcxokj\afpfty.exe
    C:\Windows\SysWOW64\lmgcxokj\afpfty.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4d9b3eaae7f591289d07eb6df10c78b68ad583b011ece723d4aaa669e19d8e58.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2804
    • 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:2772

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.0MB

    MD5

    04a918c379e8652282fae5454318a7c2

    SHA1

    523814876def2d7d22de4962a82bd11195abc32d

    SHA256

    036c92f24fe5d060c8b93eba9c88795b06b360bccb42211c0b0b8386996bc968

    SHA512

    41040ab173134e86ef92808395c9ee388ebe93eac1580a8d97f53ad0c63507656de766d9213a633f52e0ac5f4126a84674da2f0beacc41f6162d5bdafb85c233

  • memory/1708-8-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1708-7-0x0000000000400000-0x0000000002B40000-memory.dmp

    Filesize

    39.2MB

  • memory/1708-1-0x0000000002BD0000-0x0000000002CD0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2804-16-0x0000000000400000-0x0000000002B40000-memory.dmp

    Filesize

    39.2MB