Dissect seems to deal pretty well with Ivanti images as is, however some OS specific things could be implemented.
Specifically IP adress does not always seem to work, or could be faster.
For detect function the presence of the /mi/ dir can be used
One relevant file is:
/mi/config-system/startup_config/systemconfig.xml
This file contains:
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="http://xsdobjects.mi.com/systemconf" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<system>
<interface>
<ifacename>Ethernet1</ifacename>
<ipaddress>REDACTED IP</ipaddress>
<mask>REDACTED IP</mask>
<adminstate>up</adminstate>
<aclname>None</aclname>
<ip6address>::</ip6address>
<ip6defaultgateway>::</ip6defaultgateway>
<prefix>0</prefix>
<ipv6enabled>false</ipv6enabled>
</interface>
<interface>
<ifacename>Ethernet2</ifacename>
<ipaddress>REDACTED IP</ipaddress>
<mask>REDACTED IP</mask>
<adminstate>down</adminstate>
<aclname>None</aclname>
<ip6address>::</ip6address>
<ip6defaultgateway>::</ip6defaultgateway>
<prefix>0</prefix>
<ipv6enabled>false</ipv6enabled>
</interface>
<dns>
<index>0</index>
<ipaddress>REDACTED IP</ipaddress>
</dns>
<dns>
<index>1</index>
<ipaddress>REDACTED IP</ipaddress>
</dns>
<dnsname>
<domainname>intern.network</domainname>
</dnsname>
<route>
<ipaddress>REDACTED IP</ipaddress>
<mask>REDACTED IP</mask>
<gateway>REDACTED IP</gateway>
</route>
<hostname>
<hname>ivanti-core.intern.network</hname>
</hostname>
</system>
It also contains some information about log paths.
Additionally we could add some parsers for various logs on the system. This includes tomcat logs (as far as we do not already parse them) and other mi related logs in (sub-folders of) /var/log/
Dissect seems to deal pretty well with Ivanti images as is, however some OS specific things could be implemented.
Specifically IP adress does not always seem to work, or could be faster.
For
detectfunction the presence of the/mi/dir can be usedOne relevant file is:
/mi/config-system/startup_config/systemconfig.xmlThis file contains:
It also contains some information about log paths.
Additionally we could add some parsers for various logs on the system. This includes
tomcatlogs (as far as we do not already parse them) and othermirelated logs in (sub-folders of)/var/log/