Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-12-2024 21:40

General

  • Target

    JaffaCakes118_a76073552688bcc6ca3de18c2e7e2394bfb2b3808f8a7d66f51e331373d332f3.exe

  • Size

    238KB

  • MD5

    1854bf09896c03053dbc0a9bb214d346

  • SHA1

    7b5744d026e9a5f7965f1ebf3625070c638ea2ef

  • SHA256

    a76073552688bcc6ca3de18c2e7e2394bfb2b3808f8a7d66f51e331373d332f3

  • SHA512

    d261cd4150e913e7944df01592b255b021a51ecd2f6054f1db326acdd31b4b85989ae09221509e03977320d44e8f94dd2e05f9c3af48bbc009d93f9e6cde4cc4

  • SSDEEP

    6144:pNeWb3UACOZBOzSc1OItX7ITsq7igavwVf:pN9b37tZBkvnX79

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
  • 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 2 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_a76073552688bcc6ca3de18c2e7e2394bfb2b3808f8a7d66f51e331373d332f3.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a76073552688bcc6ca3de18c2e7e2394bfb2b3808f8a7d66f51e331373d332f3.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2324
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dlanaatw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5008
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qfgmzked.exe" C:\Windows\SysWOW64\dlanaatw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3312
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dlanaatw binPath= "C:\Windows\SysWOW64\dlanaatw\qfgmzked.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a76073552688bcc6ca3de18c2e7e2394bfb2b3808f8a7d66f51e331373d332f3.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4928
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dlanaatw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1460
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dlanaatw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:364
    • 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:632
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2324 -s 1040
      2⤵
      • Program crash
      PID:3760
  • C:\Windows\SysWOW64\dlanaatw\qfgmzked.exe
    C:\Windows\SysWOW64\dlanaatw\qfgmzked.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a76073552688bcc6ca3de18c2e7e2394bfb2b3808f8a7d66f51e331373d332f3.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3640
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3452
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3640 -s 512
      2⤵
      • Program crash
      PID:4912
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2324 -ip 2324
    1⤵
      PID:3020
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 3640 -ip 3640
      1⤵
        PID:5000

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.3MB

        MD5

        269d12354fd3c2eaa0b51152d0ac975f

        SHA1

        ef6bdf98ab0eface3d82b9aaa2bc8c31b7476439

        SHA256

        cc86a3e409e6c74eed47d956dbe65ae96698746271dd80eeb6d83fcf4b23302b

        SHA512

        819117b95b14bd53cf9885a375bd767576714b27e42f9aa4603b2619f2086e49aff21e5ce7597e6007138e1d7f33389439926c6b2c747cd8231af51e57dbb737

      • memory/2324-8-0x00000000021D0000-0x00000000021E3000-memory.dmp

        Filesize

        76KB

      • memory/2324-6-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/2324-1-0x00000000021D0000-0x00000000021E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2324-0-0x00000000005F0000-0x00000000005FD000-memory.dmp

        Filesize

        52KB

      • memory/2324-7-0x00000000005F0000-0x00000000005FD000-memory.dmp

        Filesize

        52KB

      • memory/3452-16-0x0000000000610000-0x0000000000625000-memory.dmp

        Filesize

        84KB

      • memory/3452-13-0x0000000000610000-0x0000000000625000-memory.dmp

        Filesize

        84KB

      • memory/3452-15-0x0000000000610000-0x0000000000625000-memory.dmp

        Filesize

        84KB

      • memory/3640-11-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/3640-10-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/3640-12-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/3640-18-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB