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
    29-12-2024 11:41

General

  • Target

    JaffaCakes118_cbe2de6f93b8a38d091c13ace24a93655bc4198d3ec65a5f9de58c01c8d52f37.exe

  • Size

    296KB

  • MD5

    142a7605680f58824eeb973ced7547b6

  • SHA1

    2512decd1bdf871d20970b46d73ccd2b894ac6fa

  • SHA256

    cbe2de6f93b8a38d091c13ace24a93655bc4198d3ec65a5f9de58c01c8d52f37

  • SHA512

    80447b00d84881c4cf5240e1f7682a77c1e464dffd7f45f629935e2d0fd297f8c9634669785a5350f60d8ec8ad46c29b9ca5a1a7675eb5cdf6ba9376bb2aebed

  • SSDEEP

    6144:1EQM+a/agwAS8XfaSXuZet0yy8TUoG9FPxfdTV:1lMh/agdS8vaSXuZet0yy8wzPxfT

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_cbe2de6f93b8a38d091c13ace24a93655bc4198d3ec65a5f9de58c01c8d52f37.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cbe2de6f93b8a38d091c13ace24a93655bc4198d3ec65a5f9de58c01c8d52f37.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1876
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rhatubgp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3100
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nsrpfluj.exe" C:\Windows\SysWOW64\rhatubgp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1540
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rhatubgp binPath= "C:\Windows\SysWOW64\rhatubgp\nsrpfluj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cbe2de6f93b8a38d091c13ace24a93655bc4198d3ec65a5f9de58c01c8d52f37.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3252
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rhatubgp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2224
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rhatubgp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3300
    • 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:1936
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1876 -s 1028
      2⤵
      • Program crash
      PID:548
  • C:\Windows\SysWOW64\rhatubgp\nsrpfluj.exe
    C:\Windows\SysWOW64\rhatubgp\nsrpfluj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cbe2de6f93b8a38d091c13ace24a93655bc4198d3ec65a5f9de58c01c8d52f37.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3524
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2780
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3524 -s 512
      2⤵
      • Program crash
      PID:4436
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1876 -ip 1876
    1⤵
      PID:4500
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 3524 -ip 3524
      1⤵
        PID:3912

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        04c55227fdfcd4def94bc60ae80d807a

        SHA1

        85e0864fc7c76b28c2786d1646e6c5ac569ae0b0

        SHA256

        83bfc978cc22c0ccdad1aac045a8796bdc7665e21f762cb7205dc4af7904bc74

        SHA512

        d9e40dd56dc1d08d02779113fe035c2b4794dea7edbae580e534cd95c3f9785ee0d9befd45cda550e9a81b3e604b5ec515a1077008e8afbf8a21b1920cf77c70

      • memory/1876-1-0x0000000001D10000-0x0000000001E10000-memory.dmp

        Filesize

        1024KB

      • memory/1876-2-0x0000000001CD0000-0x0000000001CE3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1876-8-0x0000000001CD0000-0x0000000001CE3000-memory.dmp

        Filesize

        76KB

      • memory/1876-7-0x0000000000400000-0x0000000001C00000-memory.dmp

        Filesize

        24.0MB

      • memory/2780-11-0x0000000000330000-0x0000000000345000-memory.dmp

        Filesize

        84KB

      • memory/2780-13-0x0000000000330000-0x0000000000345000-memory.dmp

        Filesize

        84KB

      • memory/2780-14-0x0000000000330000-0x0000000000345000-memory.dmp

        Filesize

        84KB

      • memory/3524-15-0x0000000000400000-0x0000000001C00000-memory.dmp

        Filesize

        24.0MB