Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.
SECRET//ORCON//NOFORN
5.5 Older Than
Description
The “older_than” verb takes in a windows version string value and checks to
see if the target Windows installation is older than the provided value. The
valid Windows version strings are shown in the table below:
winxp-sp0 winxp-sp1 winxp-sp2
winxp-sp3 winxppro-
sp0
winxppro-
sp1
winxppro-
sp2
winxppro-
sp3
win2003-
sp0
win2003-sp1 win2003-sp2 win2003-
sp3
vista-sp0 vista-sp1 vista-sp2
win2008-sp0 win2008-sp1 win2008-
sp2
win2008r2-
sp0
win2008r2-
sp1
win7-sp0
win7-sp1 win8-sp0
Usage
os.older_than(<windows version>)
Example
os.older_than(“winxp-sp3”)
The above example checks to see if target Windows installation has a version
that older than “winxp-sp3”.
Return Values
Return
Code
Description
True If the target Windows installation is older than the
provided version
False If the target Windows installation is equal to or greater
than the provided version
Invalid If an error occurred while getting OS information
90
SECRET//ORCON//NOFORN