Analysis

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

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

General

  • Target

    JaffaCakes118_5ed32447dcb29ab948c0eeaf6990d2daf0dfad2c86aa5f490de81a44b5dbb2f9.exe

  • Size

    246KB

  • MD5

    a41405a0933cd2a8e56aeb6cb617b092

  • SHA1

    14d5a7346c98eed4aeb824234e4e7619529ec867

  • SHA256

    5ed32447dcb29ab948c0eeaf6990d2daf0dfad2c86aa5f490de81a44b5dbb2f9

  • SHA512

    44656ba4a0899c3b39d66b06be55947bf5df8c41c48ce47fb207559304097d047e2677a71be043c613c156ba85641864bca99ecc89e8d1db458028bc820d2b38

  • SSDEEP

    6144:E2xmEZ8ABRMXOGFTPRuzbgwu6QigabwVf:E0mE+OGFT5unn5

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_5ed32447dcb29ab948c0eeaf6990d2daf0dfad2c86aa5f490de81a44b5dbb2f9.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5ed32447dcb29ab948c0eeaf6990d2daf0dfad2c86aa5f490de81a44b5dbb2f9.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2228
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gwqrquuw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2396
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\apuvpxat.exe" C:\Windows\SysWOW64\gwqrquuw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:316
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gwqrquuw binPath= "C:\Windows\SysWOW64\gwqrquuw\apuvpxat.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5ed32447dcb29ab948c0eeaf6990d2daf0dfad2c86aa5f490de81a44b5dbb2f9.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2372
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gwqrquuw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gwqrquuw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3328
    • 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:3792
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2228 -s 1036
      2⤵
      • Program crash
      PID:2352
  • C:\Windows\SysWOW64\gwqrquuw\apuvpxat.exe
    C:\Windows\SysWOW64\gwqrquuw\apuvpxat.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5ed32447dcb29ab948c0eeaf6990d2daf0dfad2c86aa5f490de81a44b5dbb2f9.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3728
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3852
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3728 -s 516
      2⤵
      • Program crash
      PID:3484
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2228 -ip 2228
    1⤵
      PID:888
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 3728 -ip 3728
      1⤵
        PID:244

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.4MB

        MD5

        306a2469d7cbc70da51f5c7bf754eaf3

        SHA1

        e9d66bbe2350c50b52360b9b5c14fe359282db36

        SHA256

        c0b71fd767c590751000c402a8eed794840f944b8bac4bb8a47b33a8ee831cbd

        SHA512

        fc24a5cccce9e79ddef914ee4ec58a0d0f3996219f852f5343f89a0f15f78ad08820528c3aff716a0750175b51acbbe3b5d519d3b9b57737e4a1a12e71bf9eb0

      • memory/2228-12-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2228-11-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

      • memory/2228-1-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

      • memory/2228-8-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

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

        Filesize

        84KB

      • memory/2228-0-0x00000000021A0000-0x00000000021AD000-memory.dmp

        Filesize

        52KB

      • memory/2228-10-0x00000000021A0000-0x00000000021AD000-memory.dmp

        Filesize

        52KB

      • memory/3728-9-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/3728-7-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/3728-6-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/3728-17-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/3852-15-0x0000000000F80000-0x0000000000F95000-memory.dmp

        Filesize

        84KB

      • memory/3852-13-0x0000000000F80000-0x0000000000F95000-memory.dmp

        Filesize

        84KB

      • memory/3852-16-0x0000000000F80000-0x0000000000F95000-memory.dmp

        Filesize

        84KB