Analysis

  • max time kernel
    148s
  • 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
    09-10-2024 08:48

General

  • Target

    2e2aada4b6ae1c5393c753b9f9b6fba0_JaffaCakes118.exe

  • Size

    254KB

  • MD5

    2e2aada4b6ae1c5393c753b9f9b6fba0

  • SHA1

    4493842c4e76d00bd16c68d656fd205cdc031cff

  • SHA256

    5893b223a7a45ece6853b1f9770b8acad72c8dcd01bdc04320aaa1d0fe2de41c

  • SHA512

    fac139a178aa1e1edd3f347b3d149731daa0f0d5dd02f82004777d6a235f6a88be1c9da300f4903d7ce6a97ebec2c008ac9562c46e65b14adec20d7f272de752

  • SSDEEP

    6144:8vmmRGQcKp2eBXCMdOG7a4hBbUNmNLGJD0fr0Fk4qU:8ekPcKp2YXZ9a4bUNmb0F3q

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\2e2aada4b6ae1c5393c753b9f9b6fba0_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\2e2aada4b6ae1c5393c753b9f9b6fba0_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3260
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ipqfdofb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4176
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ehaigiqa.exe" C:\Windows\SysWOW64\ipqfdofb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3776
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ipqfdofb binPath= "C:\Windows\SysWOW64\ipqfdofb\ehaigiqa.exe /d\"C:\Users\Admin\AppData\Local\Temp\2e2aada4b6ae1c5393c753b9f9b6fba0_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1960
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ipqfdofb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2248
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ipqfdofb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1236
    • 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:1376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3260 -s 684
      2⤵
      • Program crash
      PID:3204
  • C:\Windows\SysWOW64\ipqfdofb\ehaigiqa.exe
    C:\Windows\SysWOW64\ipqfdofb\ehaigiqa.exe /d"C:\Users\Admin\AppData\Local\Temp\2e2aada4b6ae1c5393c753b9f9b6fba0_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1704
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2888
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1704 -s 512
      2⤵
      • Program crash
      PID:4128
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3260 -ip 3260
    1⤵
      PID:3012
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 1704 -ip 1704
      1⤵
        PID:448

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.1MB

        MD5

        04f7952c1b540382d1f332aadf4a5a1b

        SHA1

        58c2941a8394de098ae96cf17b62009ba25dcf13

        SHA256

        25553f945a481a60f15b2def4b5dad31155e12ee5e5c9dc0982fcfb36adfe040

        SHA512

        2530257eda79948d7ca940e75f8a4e2bdb86325076e8641dd4c8443e924fe0de98594bea6cb4de8dacbffb0c18521746e8d8cca1f9cd722321464e07afded049

      • memory/1704-12-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/1704-8-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/2888-9-0x00000000001E0000-0x00000000001F5000-memory.dmp

        Filesize

        84KB

      • memory/2888-13-0x00000000001E0000-0x00000000001F5000-memory.dmp

        Filesize

        84KB

      • memory/2888-18-0x00000000001E0000-0x00000000001F5000-memory.dmp

        Filesize

        84KB

      • memory/2888-19-0x00000000001E0000-0x00000000001F5000-memory.dmp

        Filesize

        84KB

      • memory/2888-20-0x00000000001E0000-0x00000000001F5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3260-1-0x0000000000BA0000-0x0000000000CA0000-memory.dmp

        Filesize

        1024KB

      • memory/3260-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3260-16-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/3260-15-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB