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
    22-12-2024 09:11

General

  • Target

    JaffaCakes118_1843cd50cf003274224a0f3355562f429b8dc4cd307b5b6b8d3fadfbd3840ece.exe

  • Size

    291KB

  • MD5

    831a5dc5fa2b9d8d477d3ef10e217506

  • SHA1

    313455b9a0487d9dcf0b0ceaa054fc8d942a3eca

  • SHA256

    1843cd50cf003274224a0f3355562f429b8dc4cd307b5b6b8d3fadfbd3840ece

  • SHA512

    eca615a24dfb8a729a37fdd34e3723c767bd03f99a8404d66fe09e53d58dd4832254fb4049f7b0d13dd510d6cbd0fb876a919dab68ab3bca2370000b8f3f651b

  • SSDEEP

    6144:n2EGgkHHbPvLrBbciQ83oSXuZet0yyeeT3PXsE+BmLzL+:n2oknbrr2iQCoSXuZet0yyeQEE+Bmq

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_1843cd50cf003274224a0f3355562f429b8dc4cd307b5b6b8d3fadfbd3840ece.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1843cd50cf003274224a0f3355562f429b8dc4cd307b5b6b8d3fadfbd3840ece.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4704
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\duxcfrza\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2244
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ohsitqjc.exe" C:\Windows\SysWOW64\duxcfrza\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5064
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create duxcfrza binPath= "C:\Windows\SysWOW64\duxcfrza\ohsitqjc.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1843cd50cf003274224a0f3355562f429b8dc4cd307b5b6b8d3fadfbd3840ece.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2908
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description duxcfrza "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3876
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start duxcfrza
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1892
    • 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:2548
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4704 -s 1044
      2⤵
      • Program crash
      PID:1332
  • C:\Windows\SysWOW64\duxcfrza\ohsitqjc.exe
    C:\Windows\SysWOW64\duxcfrza\ohsitqjc.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1843cd50cf003274224a0f3355562f429b8dc4cd307b5b6b8d3fadfbd3840ece.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3872
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4728
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3872 -s 532
      2⤵
      • Program crash
      PID:4624
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4704 -ip 4704
    1⤵
      PID:224
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3872 -ip 3872
      1⤵
        PID:2208

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.1MB

        MD5

        098432bf70447831e484f7132cef4fb5

        SHA1

        db38f035f1d670ecada0bbc3c8eee6342b3ac6b9

        SHA256

        8d92b549be12d95eb0d8f1b0e77532a99b718332a5651e033420e05af4f56473

        SHA512

        e15c5d652e8d50855f572449074bd09acd97b328398a6e7ba086839f3dd1ed74318b1025e23ebdd84b5686d9be93d49e69d95df6855821934a47bfd312ed1b20

      • memory/3872-15-0x0000000000400000-0x0000000001FCF000-memory.dmp

        Filesize

        27.8MB

      • memory/4704-1-0x00000000020D0000-0x00000000021D0000-memory.dmp

        Filesize

        1024KB

      • memory/4704-2-0x0000000003D10000-0x0000000003D23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4704-8-0x0000000003D10000-0x0000000003D23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4704-7-0x0000000000400000-0x0000000001FCF000-memory.dmp

        Filesize

        27.8MB

      • memory/4728-11-0x0000000000CA0000-0x0000000000CB5000-memory.dmp

        Filesize

        84KB

      • memory/4728-13-0x0000000000CA0000-0x0000000000CB5000-memory.dmp

        Filesize

        84KB

      • memory/4728-14-0x0000000000CA0000-0x0000000000CB5000-memory.dmp

        Filesize

        84KB