Tools for Red Star OS (붉은별)
This repository includes several binaries from and tools for Red Star OS. These can be used for further research work.
Disable malicious components
-
Get root privileges via
/usr/sbin/rootsetting -
Kill
securitydKilling
securitydwill prevent the system from rebooting when editing/deleting various protected files.killall -9 securityd -
Disable
rtscankernel moduleEither via
resctl.py(seertscan) or via a Python shell as follows:[root@localhost ~]# python Python 2.6 (r26:66714, Oct 7 2012, 13:39:47) [GCC 4.4.0 20090506 (Red Hat 4.4.0-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import fcntl >>> fcntl.ioctl(open('/dev/res', 'wb'), 29187) 0After disabling
rtscanprotected processes likeopprcwill become killable. -
Kill
scnprcandopprckillall scnprc killall opprc -
Replace
/usr/lib/libos.so.0.0.0See
libosfor further information. Replacing this file will prevent the system from rebooting viasecuritydafter rebooting the system. It also will prevent reboot loops bykdmrendering the system unusable. -
Delete
/usr/share/autostart/scnprc.desktopDeleting this file will prevent
kdeinitfrom starting the framework after a system reboot. -
Reboot the system
Disclaimer
All of the information is based on research dedicated to analyzing Red Star OS. The authors take no responsibility for the accuracy, completeness or quality of the information provided.