Analysis

  • max time kernel
    149s
  • max time network
    156s
  • 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 05:48

General

  • Target

    JaffaCakes118_da4b9d0645088f4d03ac21095c41eae79158fdf64de528c81db6ca1a860d081a.exe

  • Size

    316KB

  • MD5

    c7051b7cbb880cede34b869a26552871

  • SHA1

    21ab89fc5678a17b8fbe60df0cabdecd541a8a12

  • SHA256

    da4b9d0645088f4d03ac21095c41eae79158fdf64de528c81db6ca1a860d081a

  • SHA512

    4ae131e2198ba5d49b3657794bdbebb5ceabf3c08727daefe2a18aef6bb41ce8efca6f23c89d33e394f8577fec7c488088558870977d608b526280c7937b6d6f

  • SSDEEP

    6144:bDJdGfXu5oWKgy2+6PgZ4HV0gGZIDu6+gKxrLO:C+5oWKgy2+6PgZ4HV0gGZIIgKw

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_da4b9d0645088f4d03ac21095c41eae79158fdf64de528c81db6ca1a860d081a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_da4b9d0645088f4d03ac21095c41eae79158fdf64de528c81db6ca1a860d081a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4004
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dzedybfz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2848
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\prlawsof.exe" C:\Windows\SysWOW64\dzedybfz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dzedybfz binPath= "C:\Windows\SysWOW64\dzedybfz\prlawsof.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_da4b9d0645088f4d03ac21095c41eae79158fdf64de528c81db6ca1a860d081a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4360
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dzedybfz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3608
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dzedybfz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4036
    • 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:408
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4004 -s 1320
      2⤵
      • Program crash
      PID:3684
  • C:\Windows\SysWOW64\dzedybfz\prlawsof.exe
    C:\Windows\SysWOW64\dzedybfz\prlawsof.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_da4b9d0645088f4d03ac21095c41eae79158fdf64de528c81db6ca1a860d081a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1152
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4584
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1152 -s 516
      2⤵
      • Program crash
      PID:3916
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4004 -ip 4004
    1⤵
      PID:952
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 1152 -ip 1152
      1⤵
        PID:3468

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.2MB

        MD5

        8400f659f008403e7c30e2eedeb58269

        SHA1

        229d255a9daaae38dbacff9ff916ea105ca07f68

        SHA256

        a82ad16664d67a7c6d2c6f5b08f80084120bf617b74fb7bf330e386d7c00f92b

        SHA512

        67f1c0c894a96e1f74ef9c226724affccc1bfd52fa9e84e413419db8eb0a8c35d58afa545ce30277f49a75f7dd5dfe1a1bcf2a9357487de9a59db1875a539a5a

      • memory/1152-15-0x0000000000400000-0x0000000002B47000-memory.dmp

        Filesize

        39.3MB

      • memory/4004-2-0x0000000002CF0000-0x0000000002D03000-memory.dmp

        Filesize

        76KB

      • memory/4004-1-0x0000000002D20000-0x0000000002E20000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4004-8-0x0000000002CF0000-0x0000000002D03000-memory.dmp

        Filesize

        76KB

      • memory/4004-7-0x0000000000400000-0x0000000002B47000-memory.dmp

        Filesize

        39.3MB

      • memory/4584-11-0x00000000007E0000-0x00000000007F5000-memory.dmp

        Filesize

        84KB

      • memory/4584-13-0x00000000007E0000-0x00000000007F5000-memory.dmp

        Filesize

        84KB

      • memory/4584-14-0x00000000007E0000-0x00000000007F5000-memory.dmp

        Filesize

        84KB