Analysis

  • max time kernel
    147s
  • max time network
    145s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 05:10

General

  • Target

    JaffaCakes118_e717b1c7b77d59586e67ced2da5e4e42280f97e1a6abd3f12dc9c671fb14b41e.exe

  • Size

    285KB

  • MD5

    5b466970f8e25d73b937aa1578dd44ba

  • SHA1

    9bb38b02e5e6b1e0352408357ffcad753c339f12

  • SHA256

    e717b1c7b77d59586e67ced2da5e4e42280f97e1a6abd3f12dc9c671fb14b41e

  • SHA512

    536554bb9ddaa3a9ea1d5b50726efc60fd72008868716b376dc6eef3049df76e02b3cff7e52621db6d247e7e7a56f05d71515d07dfa182071e6d137b822f289b

  • SSDEEP

    6144:SKOnV2tU9Xp8YYQTPoSEHnwuzbgwu6L7ITsqSigaTwVf:unVpiYvTPyHwunnn7s

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_e717b1c7b77d59586e67ced2da5e4e42280f97e1a6abd3f12dc9c671fb14b41e.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e717b1c7b77d59586e67ced2da5e4e42280f97e1a6abd3f12dc9c671fb14b41e.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2972
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fywlwrzu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4760
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hmwmaf.exe" C:\Windows\SysWOW64\fywlwrzu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fywlwrzu binPath= "C:\Windows\SysWOW64\fywlwrzu\hmwmaf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e717b1c7b77d59586e67ced2da5e4e42280f97e1a6abd3f12dc9c671fb14b41e.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3420
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fywlwrzu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fywlwrzu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3924
    • 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:4604
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2972 -s 676
      2⤵
      • Program crash
      PID:1424
  • C:\Windows\SysWOW64\fywlwrzu\hmwmaf.exe
    C:\Windows\SysWOW64\fywlwrzu\hmwmaf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e717b1c7b77d59586e67ced2da5e4e42280f97e1a6abd3f12dc9c671fb14b41e.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3388
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3932
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3388 -s 532
      2⤵
      • Program crash
      PID:4836
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2972 -ip 2972
    1⤵
      PID:1984
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 3388 -ip 3388
      1⤵
        PID:1324

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        9.9MB

        MD5

        ac6caaa49ae5190cd1b4f736da222738

        SHA1

        0a5b6eb30a3e4a1a47353e569bc90b0cf0662edd

        SHA256

        3546d09ed2353de8431da56b10a5f18724b4437a9578ec2ee58e480ed25f402d

        SHA512

        9aa54be18b03c8923ef582280571f63c7a0e3b7e2becb7c54637c2b66da02fcba684724578f0950ba44b153388d26ae05b1f20a1047912470901014059f0c4e9

      • memory/2972-13-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/2972-1-0x0000000000610000-0x0000000000623000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2972-0-0x00000000005F0000-0x00000000005FD000-memory.dmp

        Filesize

        52KB

      • memory/2972-14-0x00000000005F0000-0x00000000005FD000-memory.dmp

        Filesize

        52KB

      • memory/2972-15-0x0000000000610000-0x0000000000623000-memory.dmp

        Filesize

        76KB

      • memory/2972-16-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3388-7-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/3388-6-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/3388-8-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/3388-18-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/3932-12-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/3932-9-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/3932-19-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/3932-20-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/3932-21-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB