Analysis

  • max time kernel
    146s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    20-04-2024 17:39

General

  • Target

    fd4589d275f0e0321e31a8b317ea8695_JaffaCakes118.exe

  • Size

    11.8MB

  • MD5

    fd4589d275f0e0321e31a8b317ea8695

  • SHA1

    8e5e57f7aa3e5554072e2de2a00d0ba039c3a56d

  • SHA256

    d27317496cdfcf567823853f13ba4cca1d89c026034ffff2b9e776374d388010

  • SHA512

    11b1fd8542ae7bb85447f51571307303162f3ea5f8d21015cc801d267e5d519832cca8bdbdc99202a0353963c580e9da864824a3922166a0b1c5093c8d0541a4

  • SSDEEP

    12288:dl5qOcvT9o+egMU+HoWfprc0sssssssssssssssssssssssssssssssssssssssX:vcvT9ofeqrc

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.

  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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).

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\fd4589d275f0e0321e31a8b317ea8695_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fd4589d275f0e0321e31a8b317ea8695_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1584
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ntygrtjg\
      2⤵
        PID:2348
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wfvjkynt.exe" C:\Windows\SysWOW64\ntygrtjg\
        2⤵
          PID:2740
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ntygrtjg binPath= "C:\Windows\SysWOW64\ntygrtjg\wfvjkynt.exe /d\"C:\Users\Admin\AppData\Local\Temp\fd4589d275f0e0321e31a8b317ea8695_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2896
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ntygrtjg "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2888
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ntygrtjg
          2⤵
          • Launches sc.exe
          PID:2776
        • 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
          PID:2852
      • C:\Windows\SysWOW64\ntygrtjg\wfvjkynt.exe
        C:\Windows\SysWOW64\ntygrtjg\wfvjkynt.exe /d"C:\Users\Admin\AppData\Local\Temp\fd4589d275f0e0321e31a8b317ea8695_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2652
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2500

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.0MB

        MD5

        38a69989a69b0a01f0143600d36fefd0

        SHA1

        0ab40783d24ef52a79dee07824ea3b124a904eda

        SHA256

        d4890f26dcf2dc94617478cb73b94573543bf2c5cde7ab67ad16dd51cf3da71b

        SHA512

        97a3ea7228c65d670c0a87b235460246b69bd594bcec3fc31e59367fbcc16663826c3f166c0980f0aca341e42dff8f9db175d35d494cb1dd7d51b58fee66f5fc

      • memory/1584-1-0x0000000000590000-0x0000000000690000-memory.dmp

        Filesize

        1024KB

      • memory/1584-3-0x0000000000240000-0x0000000000253000-memory.dmp

        Filesize

        76KB

      • memory/1584-4-0x0000000000400000-0x000000000046D000-memory.dmp

        Filesize

        436KB

      • memory/1584-8-0x0000000000400000-0x000000000046D000-memory.dmp

        Filesize

        436KB

      • memory/2500-14-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2500-11-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2500-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2500-18-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2500-20-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2500-21-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2652-10-0x0000000000400000-0x000000000046D000-memory.dmp

        Filesize

        436KB

      • memory/2652-9-0x0000000000640000-0x0000000000740000-memory.dmp

        Filesize

        1024KB

      • memory/2652-16-0x0000000000400000-0x000000000046D000-memory.dmp

        Filesize

        436KB