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
    08-10-2024 01:15

General

  • Target

    1ecce7b894fc2132b3e7ec1c2681936d_JaffaCakes118.exe

  • Size

    11.3MB

  • MD5

    1ecce7b894fc2132b3e7ec1c2681936d

  • SHA1

    d5f945e66f9d569636fa19a9a82232a6ed198859

  • SHA256

    368d36e214d321633cc73d84c3bd8879bb9ced7ccb906fee4657c585a11551b5

  • SHA512

    6aab60798b0256e19e145267394196e6f029d2e8ff1994e4c0efb82379fda34ec11dcc43d1b4fac9d065eb8e80eeb891a25abd82c3c71d017b4806eee331dc78

  • SSDEEP

    49152:jGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGX:

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.

  • 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\1ecce7b894fc2132b3e7ec1c2681936d_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\1ecce7b894fc2132b3e7ec1c2681936d_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1624
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ohskcnab\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:924
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nqjrprzj.exe" C:\Windows\SysWOW64\ohskcnab\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3480
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ohskcnab binPath= "C:\Windows\SysWOW64\ohskcnab\nqjrprzj.exe /d\"C:\Users\Admin\AppData\Local\Temp\1ecce7b894fc2132b3e7ec1c2681936d_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3944
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ohskcnab "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3592
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ohskcnab
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1028
    • 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:3160
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1624 -s 1408
      2⤵
      • Program crash
      PID:3904
  • C:\Windows\SysWOW64\ohskcnab\nqjrprzj.exe
    C:\Windows\SysWOW64\ohskcnab\nqjrprzj.exe /d"C:\Users\Admin\AppData\Local\Temp\1ecce7b894fc2132b3e7ec1c2681936d_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:396
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1956
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 396 -s 560
      2⤵
      • Program crash
      PID:4948
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1624 -ip 1624
    1⤵
      PID:3024
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 396 -ip 396
      1⤵
        PID:4584

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        2f5bacadab76c36b35b11da7be4720d7

        SHA1

        f1b923aeef343287b27e239895538ab6b766c1c1

        SHA256

        10a5eaa2d1ed1387273897d07acd58ba4b2ecd03ef64999ffe9019659c2028e1

        SHA512

        caeddc343c373376e9b3f3cc8914adee4019e47cbbef663322335eec4e45906ee7bee51e10b802a40fa4d720e1376a540bf2432c2e2c4b909b918629cb48fa4d

      • memory/396-13-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/396-12-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/396-11-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/396-19-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

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

        Filesize

        84KB

      • memory/1624-2-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

      • memory/1624-8-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

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

        Filesize

        84KB

      • memory/1624-9-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

      • memory/1624-1-0x00000000007C0000-0x00000000008C0000-memory.dmp

        Filesize

        1024KB

      • memory/1956-14-0x00000000012F0000-0x0000000001305000-memory.dmp

        Filesize

        84KB

      • memory/1956-16-0x00000000012F0000-0x0000000001305000-memory.dmp

        Filesize

        84KB

      • memory/1956-17-0x00000000012F0000-0x0000000001305000-memory.dmp

        Filesize

        84KB