{"id":2894,"date":"2015-03-03T18:35:08","date_gmt":"2015-03-03T18:35:08","guid":{"rendered":"http:\/\/www.hexacorn.com\/blog\/?p=2894"},"modified":"2015-03-04T05:47:25","modified_gmt":"2015-03-04T05:47:25","slug":"win8-parental-control","status":"publish","type":"post","link":"https:\/\/www.hexacorn.com\/blog\/2015\/03\/03\/win8-parental-control\/","title":{"rendered":"Win8 + Parental Control"},"content":{"rendered":"<p>One of the lesser known features of Windows 8 was an introduction of Parental Control. The idea is that you can change an account type to one that can be used by children. Such account can be then both managed by\u00a0 parents and also (what&#8217;s very interesting) regularly monitored.<\/p>\n<p>I was curious what it means from a forensic perspective and did a quick test to see what I can find out.<\/p>\n<h5><strong>How to set it up?<\/strong><\/h5>\n<ol>\n<li>Create a new account.<br \/>\n<a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-2895 size-medium\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc1-300x203.png\" alt=\"pc1\" width=\"300\" height=\"203\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc1-300x203.png 300w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc1.png 652w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<li>Tick the box to mark it as child&#8217;s account<br \/>\n<a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-2896\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc2.png\" alt=\"pc2\" width=\"557\" height=\"308\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc2.png 557w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc2-300x166.png 300w\" sizes=\"(max-width: 557px) 100vw, 557px\" \/><\/a><\/li>\n<li>You are done.<\/li>\n<li>You can go to Account \/ User settings and set up the Family Safety options + activity reporting. By default, it&#8217;s all enabled.<br \/>\n<a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-2897\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc3-300x186.png\" alt=\"pc3\" width=\"300\" height=\"186\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc3-300x186.png 300w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc3-80x50.png 80w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc3-598x372.png 598w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc3.png 782w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<\/ol>\n<h5>Testing<\/h5>\n<ol>\n<li>Simply log off as a current user and log on as a child&#8217;s account<\/li>\n<li>What you will immediately see after logging on is a notification in the right corner of the screen saying &#8216;This account is monitored by Family Safety&#8217;<br \/>\n<a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc4a.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-2898\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc4a-300x118.png\" alt=\"pc4a\" width=\"300\" height=\"118\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc4a-300x118.png 300w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc4a.png 537w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<li>Run a couple of apps<br \/>\nNote: I didn&#8217;t test the web sites in this test; I am not 100% sure, but setting modification are probably traced as well &#8211; it&#8217;s all subject to further research<br \/>\nIn my case I ran:<\/p>\n<ul>\n<li>cmd.exe, from there I ran calc.exe and spawned another copy of cmd.exe<\/li>\n<li>In the new cmd.exe I ran notepad and again, started a new instance of cmd.exe<\/li>\n<li>In the final cmd.exe instance, I launched mspaint\/pbrush.exe<\/li>\n<li>Eventually I also launched Task Manager via CTRL+SHIFT+ESC<\/li>\n<li>I ran it this way hoping that PID relationship will be preserved<br \/>\n<a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc8a.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-2899\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc8a-300x177.png\" alt=\"pc8a\" width=\"300\" height=\"177\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc8a-300x177.png 300w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc8a.png 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h5>Analyzing the evidence<\/h5>\n<ol>\n<li>I then logged off and logged on as Admin user to review the logs<\/li>\n<li>I went to the User Settings again and&#8230; saw this:<br \/>\n<a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc9.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-2900\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc9-300x177.png\" alt=\"pc9\" width=\"300\" height=\"177\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc9-300x177.png 300w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc9-1024x604.png 1024w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pc9.png 1025w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<li>That was surprising \ud83d\ude42<\/li>\n<li>I started Process Monitor and went back to the logs.<\/li>\n<li>Luckily, Process Monitor highlighted a file of interest:<br \/>\nC:\\Windows\\System32\\winevt\\Logs\\Microsoft-Windows-ParentalControls%4Operational.evtx<\/li>\n<li>Now it was easy. I opened it up in MMC:<br \/>\n<a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pcA2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-2901\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pcA2-300x170.png\" alt=\"pcA2\" width=\"300\" height=\"170\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pcA2-300x170.png 300w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pcA2.png 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<li>Looks like the Built-in reviewing panel ignores some Windows applications.<\/li>\n<li>While reviewing the data in MMC I noticed the events are NOT sorted according to time (granularity of time is too low and all timestamps are &#8216;equal&#8217;; this is kinda&#8230; stupid)<\/li>\n<li>Exporting to CSV and TSV doesn&#8217;t help as timestamps are truncated to granularity of seconds<\/li>\n<li>Exporting to XML does help as timestamps are preserved with fractions e.g. 2015-03-03T17:21:49.447501700Z so we can use it to sort events properly<\/li>\n<li>You can export the logs to an XML file via command line using wevtutil<br \/>\nwevtutil qe \/lf &#8220;c:\\Windows\\System32\\winevt\\Logs\\Microsoft-Windows-ParentalControls%4Operational.evtx&#8221; &gt; xml<\/li>\n<li>Once you parse this data and cherry-pick what you need you can end up with a table as below (I loaded it into Excel and sorted it by time):<br \/>\n<a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pcB.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-2902\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pcB-300x61.png\" alt=\"pcB\" width=\"500\" height=\"102\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pcB-300x61.png 300w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pcB.png 989w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><\/li>\n<\/ol>\n<p>Nice! So we got the log of all applications loaded during the test and following the sequence as listed earlier.<\/p>\n<p>The SerializedApplication column contains a serialized pair of a full path to an executable followed by the window title of the application. The serialization seems to be based on an alphabet made up of 0-9a-z and each string is prefixed with two characters that represent the length of the string.<\/p>\n<p>The best is to explain it via examples:<\/p>\n<pre> 000000000000000000000000000000000000111111111111111111111111111111111111\r\n 0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz\r\n05Paint\r\n07Notepad\r\n0nFirst Sign-in Animation\r\n0pWindows Command Processor\r\n0vc:\\windows\\system32\\notepad.exe\r\n17c:\\windows\\system32\\oobe\\firstlogonanim.exe<\/pre>\n<p>I am not sure what TimeUsed means (or, more precisely &#8211; how to interpret this value).<\/p>\n<h5><strong>Configuration<\/strong><\/h5>\n<p>Parents can specify what apps can be ran by a child. There is also a way to block content according to rating &amp; only allow certain list of websites (web filtering). In other words, it can work as a (kinda primitive) security control to limit access to both web sites and applications. Other options include time limits and game usage restrictions.<\/p>\n<p>Configuration of Parental Control is preserved under the following key:<\/p>\n<ul>\n<li>HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Parental Controls<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pcC.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-2903\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pcC-300x122.png\" alt=\"pcC\" width=\"300\" height=\"122\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pcC-300x122.png 300w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pcC.png 364w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Adding filters for web means that the entries will be created under the following key:<\/p>\n<ul>\n<li>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Parental Controls\\Users\\&lt;SID&gt;\\Web\\Overrides<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pcd.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-2905\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pcd-300x67.png\" alt=\"pcd\" width=\"500\" height=\"112\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pcd-300x67.png 300w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pcd.png 905w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a>And similar rules apply to apps:<\/p>\n<ul>\n<li>HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Parental Controls\\Users\\&lt;SID&gt;\\DesktopApps<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pce.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-2906\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pce-300x67.png\" alt=\"pce\" width=\"500\" height=\"112\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pce-300x67.png 300w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/03\/pce.png 903w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>With the filtering on, we got yet another artifact to look at which may be handy in determining what applications have been used on the system and when.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the lesser known features of Windows 8 was an introduction of Parental Control. The idea is that you can change an account type to one that can be used by children. Such account can be then both managed &hellip; <a href=\"https:\/\/www.hexacorn.com\/blog\/2015\/03\/03\/win8-parental-control\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/2894"}],"collection":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/comments?post=2894"}],"version-history":[{"count":11,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/2894\/revisions"}],"predecessor-version":[{"id":2918,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/2894\/revisions\/2918"}],"wp:attachment":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/media?parent=2894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/categories?post=2894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/tags?post=2894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}