Posted by:
admin
11 years, 6 months ago
Reporting is a fact of life. And to be honest, good reporting is good for security. In this post, we will take a look at the reports you can generate via the wAuth API to help monitor and manage your two-factor authentication installation.
The first report is the user report:
<% if (request.getParameter("action") != null && request.getParameter("action").equalsIgnoreCase("Get User Report")) { ReportDataTransaction.Separator separator; if("comma".equals(request.getParameter("separator"))){ separator = ReportDataTransaction.Separator.COMMA; } else if("tab".equals(request.getParameter("separator"))){ separator = ReportDataTransaction.Separator.TAB; } else { separator = ReportDataTransaction.Separator.XML; } status = wc.getUserReport(separator,request.getParameter("includeDisabledUsers")!=null, request.getParameter("includeTokenData")!=null); } %>
The XML looks like (note that the XML needs to be on one line, it is edited for presentation):
<transaction>
<type>12</type>
<data dataType="USER" separator=",">
<options>
<includeDisabledUsers>true</includeDisabledUsers>
<includeTokenData>true</includeTokenData>
<groupUserData>false</groupUserData>
<includeDisabledDevices>false</includeDisabledDevices>
<includeUnregistered>false</includeUnregistered>
</options>
</data>
</transaction>
The report is available in comma delimited, tab delimited and XML.
username,badPasscodes,userCreation,userStatus,tokenDeviceID,tokenStatus,badPINs,tokenExpiration,tokenCreation,domainCode,domainName,deviceDomainName
This report will show you users that are perhaps in danger of getting disabled for bad passcode attempts (ie, bad logins) or bad PIN attempts.
If you run multiple domains, you may want a report based on domains:
<% if (request.getParameter("action") != null && request.getParameter("action").equalsIgnoreCase("Get Domain Report")) { ReportDataTransaction.Separator separator; if("comma".equals(request.getParameter("separator"))){ separator = ReportDataTransaction.Separator.COMMA; } else if("tab".equals(request.getParameter("separator"))){ separator = ReportDataTransaction.Separator.TAB; } else { separator = ReportDataTransaction.Separator.XML; } status = wc.getDomainReport(separator, request.getParameter("groupUserData") != null); } %>
This report shows the following information:
domainName,domainCode,deviceDomainName,userName,tokenDeviceID
Each user can have more than one token/device. You can generate a report of your two-factor authentication users based on their tokens:
<% if (request.getParameter("action") != null && request.getParameter("action").equalsIgnoreCase("Get Device Report")) { ReportDataTransaction.Separator separator; if("comma".equals(request.getParameter("separator"))){ separator = ReportDataTransaction.Separator.COMMA; } else if("tab".equals(request.getParameter("separator"))){ separator = ReportDataTransaction.Separator.TAB; } else { separator = ReportDataTransaction.Separator.XML; } status = wc.getDeviceReport(separator, request.getParameter("includeDisabledDevices") != null, request.getParameter("includeUnregistered") != null); } %>
The output:
deviceid,username,badPINs,tokenStatus,tokenExpiration,tokenCreation,domainCodedomainName,deviceDomainName
If you have any additional reporting needs, please let us know!
Share on Twitter Share on FacebookRecent Posts
- Blast-RADIUS attack
- The latest WiKID version includes an SBOM
- WiKID 6 is released!
- Log4j CVE-2021-44228
- Questions about 2FA for AD admins
Archive
2024
2022
- December (1)
2021
2019
2018
2017
2016
2015
2014
- December (2)
- November (3)
- October (3)
- September (5)
- August (4)
- July (5)
- June (5)
- May (2)
- April (2)
- March (2)
- February (3)
- January (1)
2013
2012
- December (1)
- November (1)
- October (5)
- September (1)
- August (1)
- June (2)
- May (2)
- April (1)
- March (2)
- February (3)
- January (1)
2011
2010
- December (2)
- November (3)
- October (3)
- September (4)
- August (1)
- July (1)
- June (3)
- May (3)
- April (1)
- March (1)
- February (6)
- January (3)
2009
- December (4)
- November (1)
- October (3)
- September (3)
- August (2)
- July (5)
- June (6)
- May (8)
- April (7)
- March (6)
- February (4)
- January (427)
2008
- December (1)
Categories
- PCI-DSS (2)
- Two-factor authentication (3)
Tags
- wireless-cellular-mobile-devices (7)
- Two-factor authentication (10)
- Wireless, cellular, mobile devices (6)
- NPS (1)
- Phishing and Fraud (111)
- Active Directory (1)
- pam-radius (3)
- privileged access (2)
- Cloud Security (10)
- Mutual Authentication (60)
- Web Application Authentication (1)
- Authentication Attacks (99)
- pci (50)
- Security and Economics (97)
- WiKID (133)
- pam (2)
- VPN (1)
- Installation (2)
- RADIUS Server (1)
- Open Source (64)
- Tutorial (2)
- Strong Authentication (35)
- Information Security (137)
- Transaction Authentication (13)
- Miscellaneous (100)
- Linux (2)
- transaction-authentication (6)
- Two Factor Authentication (254)