Analysis

  • max time kernel
    1802s
  • max time network
    1080s
  • platform
    windows10_x64
  • resource
    win10v20201028
  • submitted
    20-11-2020 14:34

General

  • Target

    Magic_File_v3_keygen_by_KeygenNinja.exe

Malware Config

Signatures

  • Nirsoft 6 IoCs
  • ReZer0 packer 1 IoCs

    Detects ReZer0, a packer with multiple versions used in various campaigns.

  • Blocklisted process makes network request 1 IoCs
  • Executes dropped EXE 19 IoCs
  • UPX packed file 4 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks whether UAC is enabled 1 TTPs 2 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Writes to the Master Boot Record (MBR) 1 TTPs 2 IoCs

    Bootkits write to the MBR to gain persistence at a level below the operating system.

  • Suspicious use of NtSetInformationThreadHideFromDebugger 1 IoCs
  • Suspicious use of SetThreadContext 5 IoCs
  • Drops file in Windows directory 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Program crash 1 IoCs
  • Kills process with taskkill 2 IoCs
  • Modifies Internet Explorer settings 1 TTPs 3 IoCs
  • Modifies registry class 64 IoCs
  • Modifies system certificate store 2 TTPs 2 IoCs
  • Runs ping.exe 1 TTPs 3 IoCs
  • Suspicious behavior: EnumeratesProcesses 27 IoCs
  • Suspicious behavior: MapViewOfSection 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 18 IoCs
  • Suspicious use of SetWindowsHookEx 10 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Magic_File_v3_keygen_by_KeygenNinja.exe
    "C:\Users\Admin\AppData\Local\Temp\Magic_File_v3_keygen_by_KeygenNinja.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1032
    • C:\Windows\SysWOW64\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\RarSFX0\keygen.bat" "
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2116
      • C:\Users\Admin\AppData\Local\Temp\RarSFX0\keygen-pr.exe
        keygen-pr.exe -p83fsase3Ge
        3⤵
        • Executes dropped EXE
        • Suspicious use of WriteProcessMemory
        PID:2104
        • C:\Users\Admin\AppData\Local\Temp\RarSFX1\key.exe
          "C:\Users\Admin\AppData\Local\Temp\RarSFX1\key.exe"
          4⤵
          • Executes dropped EXE
          • Suspicious use of WriteProcessMemory
          PID:2968
          • C:\Users\Admin\AppData\Local\Temp\RarSFX1\key.exe
            C:\Users\Admin\AppData\Local\Temp\RarSFX1\key.exe -txt -scanlocal -file:potato.dat
            5⤵
              PID:1580
        • C:\Users\Admin\AppData\Local\Temp\RarSFX0\keygen-step-3.exe
          keygen-step-3.exe
          3⤵
          • Executes dropped EXE
          • Suspicious use of WriteProcessMemory
          PID:1928
          • C:\Windows\SysWOW64\cmd.exe
            cmd.exe /C ping 1.1.1.1 -n 1 -w 3000 > Nul & Del /f /q "C:\Users\Admin\AppData\Local\Temp\RarSFX0\keygen-step-3.exe"
            4⤵
            • Suspicious use of WriteProcessMemory
            PID:2544
            • C:\Windows\SysWOW64\PING.EXE
              ping 1.1.1.1 -n 1 -w 3000
              5⤵
              • Runs ping.exe
              PID:3484
        • C:\Users\Admin\AppData\Local\Temp\RarSFX0\keygen-step-4.exe
          keygen-step-4.exe
          3⤵
          • Executes dropped EXE
          • Suspicious use of WriteProcessMemory
          PID:3408
          • C:\Users\Admin\AppData\Local\Temp\RarSFX2\Setup.exe
            "C:\Users\Admin\AppData\Local\Temp\RarSFX2\Setup.exe"
            4⤵
            • Executes dropped EXE
            • Checks whether UAC is enabled
            • Writes to the Master Boot Record (MBR)
            • Suspicious use of NtSetInformationThreadHideFromDebugger
            • Suspicious use of SetThreadContext
            • Suspicious use of WriteProcessMemory
            PID:3196
            • C:\Windows\SysWOW64\rundll32.exe
              C:\Windows\system32\rundll32.exe 001 install5
              5⤵
              • Blocklisted process makes network request
              • Writes to the Master Boot Record (MBR)
              • Suspicious use of WriteProcessMemory
              PID:396
              • C:\Users\Admin\AppData\Roaming\1605883972839.exe
                "C:\Users\Admin\AppData\Roaming\1605883972839.exe" /sjson "C:\Users\Admin\AppData\Roaming\1605883972839.txt"
                6⤵
                • Executes dropped EXE
                • Suspicious behavior: EnumeratesProcesses
                PID:1028
              • C:\Users\Admin\AppData\Roaming\1605883976136.exe
                "C:\Users\Admin\AppData\Roaming\1605883976136.exe" /sjson "C:\Users\Admin\AppData\Roaming\1605883976136.txt"
                6⤵
                • Executes dropped EXE
                • Suspicious behavior: EnumeratesProcesses
                PID:3872
            • C:\Windows\SysWOW64\rundll32.exe
              C:\Windows\system32\rundll32.exe 002 install5
              5⤵
              • Suspicious use of WriteProcessMemory
              PID:1560
              • C:\Windows\SysWOW64\cmd.exe
                cmd.exe /c taskkill /f /im chrome.exe
                6⤵
                  PID:3740
                  • C:\Windows\SysWOW64\taskkill.exe
                    taskkill /f /im chrome.exe
                    7⤵
                    • Kills process with taskkill
                    • Suspicious use of AdjustPrivilegeToken
                    PID:1388
                • C:\Windows\SysWOW64\cmd.exe
                  cmd.exe /c taskkill /f /im firefox.exe
                  6⤵
                    PID:3380
                    • C:\Windows\SysWOW64\taskkill.exe
                      taskkill /f /im firefox.exe
                      7⤵
                      • Kills process with taskkill
                      • Suspicious use of AdjustPrivilegeToken
                      PID:1324
                • C:\Windows\SysWOW64\rundll32.exe
                  C:\Windows\system32\rundll32.exe 003 install5
                  5⤵
                  • Suspicious use of SetThreadContext
                  PID:2208
                  • C:\Windows\SysWOW64\rundll32.exe
                    "C:\Windows\system32\rundll32.exe"
                    6⤵
                    • Suspicious use of SetWindowsHookEx
                    PID:804
                • C:\Windows\SysWOW64\cmd.exe
                  cmd /c ping 127.0.0.1 -n 3 & del "C:\Users\Admin\AppData\Local\Temp\RarSFX2\Setup.exe"
                  5⤵
                  • Suspicious use of WriteProcessMemory
                  PID:2204
                  • C:\Windows\SysWOW64\PING.EXE
                    ping 127.0.0.1 -n 3
                    6⤵
                    • Runs ping.exe
                    PID:2472
              • C:\Users\Admin\AppData\Local\Temp\RarSFX2\BTRSetp.exe
                "C:\Users\Admin\AppData\Local\Temp\RarSFX2\BTRSetp.exe"
                4⤵
                • Executes dropped EXE
                • Suspicious use of SetThreadContext
                • Suspicious behavior: EnumeratesProcesses
                • Suspicious use of AdjustPrivilegeToken
                PID:3784
                • C:\Users\Admin\AppData\Local\Temp\RarSFX2\BTRSetp.exe
                  "{path}"
                  5⤵
                  • Executes dropped EXE
                  PID:1472
                • C:\Users\Admin\AppData\Local\Temp\RarSFX2\BTRSetp.exe
                  "{path}"
                  5⤵
                  • Executes dropped EXE
                  PID:3992
                • C:\Users\Admin\AppData\Local\Temp\RarSFX2\BTRSetp.exe
                  "{path}"
                  5⤵
                  • Executes dropped EXE
                  PID:3584
                • C:\Users\Admin\AppData\Local\Temp\RarSFX2\BTRSetp.exe
                  "{path}"
                  5⤵
                  • Executes dropped EXE
                  PID:180
                  • C:\Windows\SysWOW64\WerFault.exe
                    C:\Windows\SysWOW64\WerFault.exe -u -p 180 -s 1392
                    6⤵
                    • Program crash
                    • Suspicious behavior: EnumeratesProcesses
                    • Suspicious use of AdjustPrivilegeToken
                    PID:2592
              • C:\Users\Admin\AppData\Local\Temp\RarSFX2\juppp.exe
                "C:\Users\Admin\AppData\Local\Temp\RarSFX2\juppp.exe"
                4⤵
                • Executes dropped EXE
                • Adds Run key to start application
                PID:2112
                • C:\Users\Admin\AppData\Local\Temp\jfiag_gg.exe
                  C:\Users\Admin\AppData\Local\Temp\jfiag_gg.exe /scookiestxt C:\Users\Admin\AppData\Local\Temp\fjgha23_fa.txt
                  5⤵
                  • Executes dropped EXE
                  PID:3084
                • C:\Users\Admin\AppData\Local\Temp\jfiag_gg.exe
                  C:\Users\Admin\AppData\Local\Temp\jfiag_gg.exe /scookiestxt C:\Users\Admin\AppData\Local\Temp\fjgha23_fa.txt
                  5⤵
                  • Executes dropped EXE
                  • Suspicious behavior: EnumeratesProcesses
                  PID:3972
              • C:\Users\Admin\AppData\Local\Temp\RarSFX2\id6.exe
                "C:\Users\Admin\AppData\Local\Temp\RarSFX2\id6.exe"
                4⤵
                • Executes dropped EXE
                • Suspicious use of SetWindowsHookEx
                PID:3420
                • C:\Users\Admin\AppData\Local\Temp\RarSFX2\lcx.exe
                  lcx.exe version2.txt
                  5⤵
                  • Executes dropped EXE
                  PID:360
              • C:\Users\Admin\AppData\Local\Temp\RarSFX2\setup_full.exe
                "C:\Users\Admin\AppData\Local\Temp\RarSFX2\setup_full.exe"
                4⤵
                • Executes dropped EXE
                PID:3384
                • C:\Windows\SysWOW64\cmd.exe
                  cmd.exe /C ping 1.1.1.1 -n 1 -w 3000 > Nul & Del /f /q "C:\Users\Admin\AppData\Local\Temp\RarSFX2\setup_full.exe"
                  5⤵
                    PID:420
                    • C:\Windows\SysWOW64\PING.EXE
                      ping 1.1.1.1 -n 1 -w 3000
                      6⤵
                      • Runs ping.exe
                      PID:1736
                • C:\Windows\SysWOW64\cmd.exe
                  C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\RarSFX2\DreamTrips.bat" "
                  4⤵
                  • Checks computer location settings
                  PID:1960
                • C:\Users\Admin\AppData\Local\Temp\RarSFX2\wyfdggaa.exe
                  "C:\Users\Admin\AppData\Local\Temp\RarSFX2\wyfdggaa.exe"
                  4⤵
                  • Executes dropped EXE
                  • Checks whether UAC is enabled
                  • Modifies system certificate store
                  • Suspicious use of AdjustPrivilegeToken
                  • Suspicious use of SetWindowsHookEx
                  PID:1060
          • C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe
            "C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe" -ServerName:MicrosoftEdge.AppXdnhjhccw3zf0j06tkg3jtqr00qdm0khc.mca
            1⤵
            • Drops file in Windows directory
            • Modifies Internet Explorer settings
            • Modifies registry class
            • Suspicious use of AdjustPrivilegeToken
            • Suspicious use of SetWindowsHookEx
            PID:640
          • C:\Windows\system32\browser_broker.exe
            C:\Windows\system32\browser_broker.exe -Embedding
            1⤵
            • Modifies Internet Explorer settings
            PID:3828
          • C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe
            "C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe" -ServerName:ContentProcess.AppX6z3cwk4fvgady6zya12j1cw28d228a7k.mca
            1⤵
            • Suspicious behavior: MapViewOfSection
            • Suspicious use of SetWindowsHookEx
            PID:1764
          • C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe
            "C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe" -ServerName:ContentProcess.AppX6z3cwk4fvgady6zya12j1cw28d228a7k.mca
            1⤵
            • Modifies Internet Explorer settings
            • Modifies registry class
            • Suspicious use of AdjustPrivilegeToken
            PID:4060
          • C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe
            "C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe" -ServerName:ContentProcess.AppX6z3cwk4fvgady6zya12j1cw28d228a7k.mca
            1⤵
            • Modifies registry class
            • Suspicious use of AdjustPrivilegeToken
            PID:608
          • C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe
            "C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe" -ServerName:ContentProcess.AppX6z3cwk4fvgady6zya12j1cw28d228a7k.mca
            1⤵
              PID:4436
            • C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe
              "C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe" -ServerName:ContentProcess.AppX6z3cwk4fvgady6zya12j1cw28d228a7k.mca
              1⤵
              • Modifies registry class
              PID:4532

            Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            • memory/180-69-0x0000000000400000-0x0000000000405000-memory.dmp

              Filesize

              20KB

            • memory/180-66-0x0000000000400000-0x0000000000405000-memory.dmp

              Filesize

              20KB

            • memory/360-142-0x0000000010000000-0x00000000100E3000-memory.dmp

              Filesize

              908KB

            • memory/396-32-0x00000000042E0000-0x00000000044D0000-memory.dmp

              Filesize

              1.9MB

            • memory/396-28-0x0000000010000000-0x00000000101FE000-memory.dmp

              Filesize

              2.0MB

            • memory/804-60-0x0000000010000000-0x0000000010051000-memory.dmp

              Filesize

              324KB

            • memory/1560-33-0x0000000004E60000-0x0000000005050000-memory.dmp

              Filesize

              1.9MB

            • memory/2208-37-0x0000000004750000-0x0000000004940000-memory.dmp

              Filesize

              1.9MB

            • memory/2592-87-0x00000000052F0000-0x00000000052F1000-memory.dmp

              Filesize

              4KB

            • memory/2592-76-0x0000000004830000-0x0000000004831000-memory.dmp

              Filesize

              4KB

            • memory/2592-131-0x00000000053E0000-0x00000000053E1000-memory.dmp

              Filesize

              4KB

            • memory/3196-24-0x00000000746C0000-0x0000000074753000-memory.dmp

              Filesize

              588KB

            • memory/3196-25-0x0000000010000000-0x0000000010196000-memory.dmp

              Filesize

              1.6MB

            • memory/3784-44-0x0000000071E70000-0x000000007255E000-memory.dmp

              Filesize

              6.9MB

            • memory/3784-48-0x0000000000750000-0x0000000000751000-memory.dmp

              Filesize

              4KB

            • memory/3784-50-0x0000000005000000-0x0000000005001000-memory.dmp

              Filesize

              4KB

            • memory/3784-51-0x0000000004F00000-0x0000000004F17000-memory.dmp

              Filesize

              92KB

            • memory/3784-52-0x0000000004F20000-0x0000000004F2B000-memory.dmp

              Filesize

              44KB

            • memory/3784-53-0x00000000051C0000-0x00000000051C1000-memory.dmp

              Filesize

              4KB

            • memory/3784-61-0x0000000005100000-0x0000000005109000-memory.dmp

              Filesize

              36KB

            • memory/3784-62-0x0000000005C30000-0x0000000005C31000-memory.dmp

              Filesize

              4KB