Analysis

  • max time kernel
    149s
  • 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
    31-12-2024 13:45

General

  • Target

    JaffaCakes118_1f81a2c3835fcdd7652325ea0eb70326.exe

  • Size

    12.0MB

  • MD5

    1f81a2c3835fcdd7652325ea0eb70326

  • SHA1

    a0297513774b23399b9e1747b68db90bba1a097b

  • SHA256

    024b1ff3808f448395efcc16feb5905a841149f9765a3a247a8437949108fa51

  • SHA512

    ccc3b7dbd4a8cbf01c3a4c1ceee8ded3b6882ce8d98c0059b51fac3249ed860b7ea21d229fcb9f61dcc658322ef393f2ac6c7cc4554fb904da73f573d9db295b

  • SSDEEP

    49152:y/m3UeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeK:y

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_1f81a2c3835fcdd7652325ea0eb70326.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1f81a2c3835fcdd7652325ea0eb70326.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2896
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\esesjbj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4884
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tmameyan.exe" C:\Windows\SysWOW64\esesjbj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1484
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create esesjbj binPath= "C:\Windows\SysWOW64\esesjbj\tmameyan.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1f81a2c3835fcdd7652325ea0eb70326.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:400
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description esesjbj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2904
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start esesjbj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2364
    • 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:1888
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2896 -s 1040
      2⤵
      • Program crash
      PID:4948
  • C:\Windows\SysWOW64\esesjbj\tmameyan.exe
    C:\Windows\SysWOW64\esesjbj\tmameyan.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1f81a2c3835fcdd7652325ea0eb70326.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:244
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4524
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 244 -s 516
      2⤵
      • Program crash
      PID:2064
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2896 -ip 2896
    1⤵
      PID:4164
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 544 -p 244 -ip 244
      1⤵
        PID:3408

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.7MB

        MD5

        c62c53724fde214133a0c7094d735b13

        SHA1

        0c3673ece0e24389604dd0debf93b2b89f154750

        SHA256

        7da8fe9e492dac6ee149d0a62c9bccabe9bf3fce0fbc78953e69dfdc0d37c2a8

        SHA512

        edd92c4ca25e5abffee01050e5f44bb9c8b5d30ba0bb817d472f99754c4b73c8290784a40e0d7fda801df733ca030c10a962792acca1df18cf23ed116e1a60cb

      • memory/244-14-0x0000000000400000-0x00000000016BC000-memory.dmp

        Filesize

        18.7MB

      • memory/244-17-0x0000000000400000-0x00000000016BC000-memory.dmp

        Filesize

        18.7MB

      • memory/2896-1-0x0000000001920000-0x0000000001A20000-memory.dmp

        Filesize

        1024KB

      • memory/2896-2-0x0000000003400000-0x0000000003413000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2896-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2896-9-0x0000000003400000-0x0000000003413000-memory.dmp

        Filesize

        76KB

      • memory/2896-8-0x0000000000400000-0x00000000016BC000-memory.dmp

        Filesize

        18.7MB

      • memory/4524-11-0x00000000003B0000-0x00000000003C5000-memory.dmp

        Filesize

        84KB

      • memory/4524-13-0x00000000003B0000-0x00000000003C5000-memory.dmp

        Filesize

        84KB

      • memory/4524-15-0x00000000003B0000-0x00000000003C5000-memory.dmp

        Filesize

        84KB