Analysis

  • max time kernel
    145s
  • max time network
    149s
  • platform
    windows7_x64
  • resource
    win7-20221111-en
  • resource tags

    arch:x64arch:x86image:win7-20221111-enlocale:en-usos:windows7-x64system
  • submitted
    07-02-2023 00:17

General

  • Target

    file.exe

  • Size

    300KB

  • MD5

    fe041a63df2b9558f2247cb6f07f97bf

  • SHA1

    b772f20c7ea8d3655e64717bdc82cbd669d7ef65

  • SHA256

    585707b6537eb783c58cde2b84c84a7741eb129b885aba9ff7822c2345f39362

  • SHA512

    c86151847fc94b2b4bb4b6cfd0aecb78228afd34b2ec3003fa14dcb7d9259ea282e6677e08648f9fd93d273b2cad27742d0da0fd684268fc636ca5b64b609656

  • SSDEEP

    3072:8Lb6bfTL45RmziYvPtd7Sj4yprPD0uQjiMTE59W2Hva5D:4QTL4+Oy7orIuQj9UHva

Malware Config

Extracted

Family

tofsee

C2

svartalfheim.top

jotunheim.name

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 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 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). Likely ransomware behaviour.

  • Modifies data under HKEY_USERS 2 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1320
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jjdgjvza\
      2⤵
        PID:316
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gmetyri.exe" C:\Windows\SysWOW64\jjdgjvza\
        2⤵
          PID:432
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create jjdgjvza binPath= "C:\Windows\SysWOW64\jjdgjvza\gmetyri.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1720
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description jjdgjvza "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:268
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start jjdgjvza
          2⤵
          • Launches sc.exe
          PID:1364
        • 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:1896
      • C:\Windows\SysWOW64\jjdgjvza\gmetyri.exe
        C:\Windows\SysWOW64\jjdgjvza\gmetyri.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:804
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:728

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        ff83c37dcec457b02bb2e29fd3b2b930

        SHA1

        50c103c4617da38f8a468dd6b056f35110fb38ca

        SHA256

        3eafdd1b53d3d9384445ca098934f5b13d550b1975edce30cce4041fbc97bd5c

        SHA512

        9942dd9cc37aa989e856678213d0bfb698f3d099d678797f9b864ac8f59c3106c9ac4c33777958222e3d5ab417081590ce8c4802cfe1dfb0c12dde1557c19f2d

      • C:\Windows\SysWOW64\jjdgjvza\gmetyri.exe

        Filesize

        14.2MB

        MD5

        ff83c37dcec457b02bb2e29fd3b2b930

        SHA1

        50c103c4617da38f8a468dd6b056f35110fb38ca

        SHA256

        3eafdd1b53d3d9384445ca098934f5b13d550b1975edce30cce4041fbc97bd5c

        SHA512

        9942dd9cc37aa989e856678213d0bfb698f3d099d678797f9b864ac8f59c3106c9ac4c33777958222e3d5ab417081590ce8c4802cfe1dfb0c12dde1557c19f2d

      • memory/268-62-0x0000000000000000-mapping.dmp

      • memory/316-57-0x0000000000000000-mapping.dmp

      • memory/432-58-0x0000000000000000-mapping.dmp

      • memory/728-81-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/728-80-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/728-74-0x0000000000089A6B-mapping.dmp

      • memory/728-71-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/728-73-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/804-79-0x0000000000400000-0x00000000004C7000-memory.dmp

        Filesize

        796KB

      • memory/804-76-0x00000000006BC000-0x00000000006D1000-memory.dmp

        Filesize

        84KB

      • memory/1320-55-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/1320-56-0x0000000075D01000-0x0000000075D03000-memory.dmp

        Filesize

        8KB

      • memory/1320-68-0x0000000000400000-0x00000000004C7000-memory.dmp

        Filesize

        796KB

      • memory/1320-54-0x00000000005AC000-0x00000000005C1000-memory.dmp

        Filesize

        84KB

      • memory/1320-60-0x0000000000400000-0x00000000004C7000-memory.dmp

        Filesize

        796KB

      • memory/1320-66-0x00000000005AC000-0x00000000005C1000-memory.dmp

        Filesize

        84KB

      • memory/1320-67-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/1364-63-0x0000000000000000-mapping.dmp

      • memory/1720-61-0x0000000000000000-mapping.dmp

      • memory/1896-65-0x0000000000000000-mapping.dmp