Analysis

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

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

General

  • Target

    JaffaCakes118_620949d6514c4f73ee8767cbc20ad26b6ca25cc78dc41f4a30a3e987b5c19412.exe

  • Size

    339KB

  • MD5

    5f299cb2641189797532b4399ab2db88

  • SHA1

    37f78ffb3e351479344153db438b28a752a2a0bc

  • SHA256

    620949d6514c4f73ee8767cbc20ad26b6ca25cc78dc41f4a30a3e987b5c19412

  • SHA512

    8985d918b23ae4508926c3db9ea28b7c7935ce466914154296c8cd3b7429a213af2ba90acf3a4ab0e4c130c355d7036fcaac5b3e092dcb639e04e06465f18df5

  • SSDEEP

    6144:59Zdc9hBN4DUd7gE0RWiWRl9yMPIzPTt3kk7z:59Zdc9Hug7g7R1WRl9yMPIFn

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_620949d6514c4f73ee8767cbc20ad26b6ca25cc78dc41f4a30a3e987b5c19412.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_620949d6514c4f73ee8767cbc20ad26b6ca25cc78dc41f4a30a3e987b5c19412.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2016
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\souhdxpm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3476
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hudabgsf.exe" C:\Windows\SysWOW64\souhdxpm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create souhdxpm binPath= "C:\Windows\SysWOW64\souhdxpm\hudabgsf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_620949d6514c4f73ee8767cbc20ad26b6ca25cc78dc41f4a30a3e987b5c19412.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3012
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description souhdxpm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start souhdxpm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3148
    • 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:5068
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2016 -s 660
      2⤵
      • Program crash
      PID:3588
  • C:\Windows\SysWOW64\souhdxpm\hudabgsf.exe
    C:\Windows\SysWOW64\souhdxpm\hudabgsf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_620949d6514c4f73ee8767cbc20ad26b6ca25cc78dc41f4a30a3e987b5c19412.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4984
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4440
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4984 -s 516
      2⤵
      • Program crash
      PID:3020
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2016 -ip 2016
    1⤵
      PID:3032
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 4984 -ip 4984
      1⤵
        PID:4704

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        c60e64de7d7d0bd093c405aee239b4df

        SHA1

        a470aaba641bef160c87b6ac7fbb966ebd5de819

        SHA256

        9107d60ce5418dd0ade05d150978b661eb630669716ed9a6dad94dca0b071140

        SHA512

        466596331f01a01db87d241db6ea75473db27dfc194b6e0a6684a2dde0e42cb37f7f2c97b63a6ad61d4e635b82a4634db302c1312499420ed4f9c98a4a8cd7ce

      • memory/2016-1-0x0000000000C20000-0x0000000000D20000-memory.dmp

        Filesize

        1024KB

      • memory/2016-2-0x0000000000BA0000-0x0000000000BB3000-memory.dmp

        Filesize

        76KB

      • memory/2016-4-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2016-7-0x0000000000400000-0x00000000008F8000-memory.dmp

        Filesize

        5.0MB

      • memory/2016-8-0x0000000000BA0000-0x0000000000BB3000-memory.dmp

        Filesize

        76KB

      • memory/4440-11-0x0000000000830000-0x0000000000845000-memory.dmp

        Filesize

        84KB

      • memory/4440-13-0x0000000000830000-0x0000000000845000-memory.dmp

        Filesize

        84KB

      • memory/4440-14-0x0000000000830000-0x0000000000845000-memory.dmp

        Filesize

        84KB

      • memory/4984-15-0x0000000000400000-0x00000000008F8000-memory.dmp

        Filesize

        5.0MB