Analysis

  • max time kernel
    149s
  • max time network
    151s
  • 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 17:42

General

  • Target

    JaffaCakes118_0bca46b194fbec1a66fd4ab15ada451391d18768be02b5dec4d18eb2a32e5832.exe

  • Size

    165KB

  • MD5

    eda8ef4ef88c28ae99753670669cb75c

  • SHA1

    782f44532a57ab15a38700d8effa6ee91329119e

  • SHA256

    0bca46b194fbec1a66fd4ab15ada451391d18768be02b5dec4d18eb2a32e5832

  • SHA512

    c8ce8416f4df3d49875acd4048881e7256eddfb27d787f51117d91f6376e04b2bf34446fba7ea9a86494d0f24a68a897ab94e68bbb9481c1869c6b794cb8f899

  • SSDEEP

    3072:yHecR8524Pj42v7XoL/d4TcTyB9rmqk88RgZA/72:TcR024PDTXm2B9Zk8kgZAK

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_0bca46b194fbec1a66fd4ab15ada451391d18768be02b5dec4d18eb2a32e5832.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0bca46b194fbec1a66fd4ab15ada451391d18768be02b5dec4d18eb2a32e5832.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1892
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qlbbfh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4336
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jsbjxpxg.exe" C:\Windows\SysWOW64\qlbbfh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3192
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qlbbfh binPath= "C:\Windows\SysWOW64\qlbbfh\jsbjxpxg.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0bca46b194fbec1a66fd4ab15ada451391d18768be02b5dec4d18eb2a32e5832.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qlbbfh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3800
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qlbbfh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3700
    • 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:3336
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1892 -s 1192
      2⤵
      • Program crash
      PID:5088
  • C:\Windows\SysWOW64\qlbbfh\jsbjxpxg.exe
    C:\Windows\SysWOW64\qlbbfh\jsbjxpxg.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0bca46b194fbec1a66fd4ab15ada451391d18768be02b5dec4d18eb2a32e5832.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3416
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3768
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3416 -s 528
      2⤵
      • Program crash
      PID:4292
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3416 -ip 3416
    1⤵
      PID:3952
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 1892 -ip 1892
      1⤵
        PID:3004

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        edd4afd915a054cb4e08a8774527c8f5

        SHA1

        d6a3c2ab3d4968ec69e702cd4828a414aa5d93a6

        SHA256

        a1b7c1eaec35e678e97ff56f6ec83200ab0615689cf9c72fffdd3a225b4ec7cc

        SHA512

        31c05b64d3e89efab252f68f8ab0b657c5e2ea33f8705685e67a2dc09efa3ea8a18331ade72a58301e478b17d2b3e5df48b0460bd259b52e4ec2a63f787fae51

      • memory/1892-17-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

      • memory/1892-1-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1892-0-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

      • memory/1892-15-0x0000000000400000-0x0000000000431000-memory.dmp

        Filesize

        196KB

      • memory/1892-18-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1892-16-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

      • memory/3416-7-0x0000000000400000-0x0000000000431000-memory.dmp

        Filesize

        196KB

      • memory/3416-14-0x0000000000400000-0x0000000000431000-memory.dmp

        Filesize

        196KB

      • memory/3416-8-0x0000000000400000-0x0000000000431000-memory.dmp

        Filesize

        196KB

      • memory/3416-6-0x0000000000400000-0x0000000000431000-memory.dmp

        Filesize

        196KB

      • memory/3768-12-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

      • memory/3768-9-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

      • memory/3768-19-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

      • memory/3768-20-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

      • memory/3768-21-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB