Analysis

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

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-07-2024 09:11

General

  • Target

    1ab83e7ec4c3ee17c1c634ab184ccb64_JaffaCakes118.exe

  • Size

    10.2MB

  • MD5

    1ab83e7ec4c3ee17c1c634ab184ccb64

  • SHA1

    a17551f428f71a31115b2bfe359180c29467e09f

  • SHA256

    69f551998396b69211de7617d4be4fb25eba4d5ccf33f7c2305a90a1c592e944

  • SHA512

    999892fc83da3165b84eb700276b789fa58573c3146da9c395dc40516c499698426c72db199976bfbbae4ea1a7255440e0ba12dfaf5e7d7a1c4ba6dfbc06364c

  • SSDEEP

    49152:9PQwlooooooooooooooooooooooooooooooooooooooooooooooooooooooooooH:dQ

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
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\1ab83e7ec4c3ee17c1c634ab184ccb64_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\1ab83e7ec4c3ee17c1c634ab184ccb64_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4572
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ralyzxgk\
      2⤵
        PID:1124
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hkidxeoy.exe" C:\Windows\SysWOW64\ralyzxgk\
        2⤵
          PID:2260
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ralyzxgk binPath= "C:\Windows\SysWOW64\ralyzxgk\hkidxeoy.exe /d\"C:\Users\Admin\AppData\Local\Temp\1ab83e7ec4c3ee17c1c634ab184ccb64_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2740
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ralyzxgk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:5092
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ralyzxgk
          2⤵
          • Launches sc.exe
          PID:1360
        • 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
          PID:2976
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4572 -s 676
          2⤵
          • Program crash
          PID:4552
      • C:\Windows\SysWOW64\ralyzxgk\hkidxeoy.exe
        C:\Windows\SysWOW64\ralyzxgk\hkidxeoy.exe /d"C:\Users\Admin\AppData\Local\Temp\1ab83e7ec4c3ee17c1c634ab184ccb64_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:788
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:3920
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 788 -s 516
          2⤵
          • Program crash
          PID:4604
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4572 -ip 4572
        1⤵
          PID:1420
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 788 -ip 788
          1⤵
            PID:4732

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            14.0MB

            MD5

            8843f47fc842e4b4ed33a6614cd004bd

            SHA1

            dbbc5c5b1c870ee09e93b0149059fcc423340508

            SHA256

            45237325414af42d1095ed442dd55cc4c61fbbf9b34a0300bdb6a082e376ceea

            SHA512

            1f62c6d91e79ab1f50f62e3775c5d9011ca3d3297ca7fbd3ec1b60310892d6898978be1b2bcf3178b8a7cab09105ac74322002bb9e0e2bab6cc8c3bf2d055898

          • memory/788-11-0x0000000000400000-0x0000000000517000-memory.dmp

            Filesize

            1.1MB

          • memory/788-17-0x0000000000400000-0x0000000000517000-memory.dmp

            Filesize

            1.1MB

          • memory/788-12-0x0000000000400000-0x0000000000517000-memory.dmp

            Filesize

            1.1MB

          • memory/3920-13-0x0000000000180000-0x0000000000195000-memory.dmp

            Filesize

            84KB

          • memory/3920-15-0x0000000000180000-0x0000000000195000-memory.dmp

            Filesize

            84KB

          • memory/3920-16-0x0000000000180000-0x0000000000195000-memory.dmp

            Filesize

            84KB

          • memory/4572-9-0x0000000000680000-0x0000000000693000-memory.dmp

            Filesize

            76KB

          • memory/4572-8-0x0000000000400000-0x0000000000517000-memory.dmp

            Filesize

            1.1MB

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

            Filesize

            84KB

          • memory/4572-4-0x0000000000400000-0x0000000000415000-memory.dmp

            Filesize

            84KB

          • memory/4572-1-0x0000000000710000-0x0000000000810000-memory.dmp

            Filesize

            1024KB

          • memory/4572-2-0x0000000000680000-0x0000000000693000-memory.dmp

            Filesize

            76KB