Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-12-2024 23:27

General

  • Target

    d42410905ebfc55ce307d651eb9aed87_JaffaCakes118.exe

  • Size

    11.2MB

  • MD5

    d42410905ebfc55ce307d651eb9aed87

  • SHA1

    37595c2197d96f4b0ce890566f40fdea09fcda3c

  • SHA256

    7050047856783f62328b7b24667fae2d7e47a191850621e722f61a594a582504

  • SHA512

    d03075e2a85b1241a369d95b58143702bb88478959a8023aaee90155ab7299d19243e164017a71f2d79a056e429684efb9baaa8c8e6385ba195c888f7d1bdc71

  • SSDEEP

    196608:g5qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqX:g

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

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\d42410905ebfc55ce307d651eb9aed87_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\d42410905ebfc55ce307d651eb9aed87_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:680
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ljzzccok\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2508
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nzgaflyg.exe" C:\Windows\SysWOW64\ljzzccok\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:412
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ljzzccok binPath= "C:\Windows\SysWOW64\ljzzccok\nzgaflyg.exe /d\"C:\Users\Admin\AppData\Local\Temp\d42410905ebfc55ce307d651eb9aed87_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1412
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ljzzccok "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ljzzccok
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4936
    • 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:2404
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 680 -s 1040
      2⤵
      • Program crash
      PID:4780
  • C:\Windows\SysWOW64\ljzzccok\nzgaflyg.exe
    C:\Windows\SysWOW64\ljzzccok\nzgaflyg.exe /d"C:\Users\Admin\AppData\Local\Temp\d42410905ebfc55ce307d651eb9aed87_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4504
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2400
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4504 -s 512
      2⤵
      • Program crash
      PID:3984
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 680 -ip 680
    1⤵
      PID:2444
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4504 -ip 4504
      1⤵
        PID:2652

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.5MB

        MD5

        14d7a0028961e9d8dfacb3a3ce8fd698

        SHA1

        134ef5f41726f674b64caf180d50b91cc294a9c5

        SHA256

        56e1d791bd25445e71fbd27285e7062d57bda816e5cdb761a3fae0b644a215a7

        SHA512

        a1151a76056a043f5d1a5248e41427d8541da6101e125752b86db6f56b35c19361c4c5c9269ab934db60ea7291729863ba029ec5429988e33bf1aebc5c30d965

      • memory/680-8-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/680-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/680-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/680-1-0x0000000000B20000-0x0000000000C20000-memory.dmp

        Filesize

        1024KB

      • memory/2400-13-0x0000000000340000-0x0000000000355000-memory.dmp

        Filesize

        84KB

      • memory/2400-16-0x0000000000340000-0x0000000000355000-memory.dmp

        Filesize

        84KB

      • memory/2400-17-0x0000000000340000-0x0000000000355000-memory.dmp

        Filesize

        84KB

      • memory/4504-11-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/4504-12-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/4504-14-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/4504-19-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB