<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>RES on Remko's Blog</title><link>https://remkoweijnen.nl/blog/tags/res/</link><description>Recent content in RES on Remko's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 13 Sep 2013 15:35:25 +0000</lastBuildDate><atom:link href="https://remkoweijnen.nl/blog/tags/res/index.xml" rel="self" type="application/rss+xml"/><item><title>The publisher could not be verified when launching an application with RES Workspace Manager</title><link>https://remkoweijnen.nl/blog/2013/09/13/the-publisher-could-not-be-verified-when-launching-an-application-with-res-workspace-manger/</link><pubDate>Fri, 13 Sep 2013 15:35:25 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2013/09/13/the-publisher-could-not-be-verified-when-launching-an-application-with-res-workspace-manger/</guid><description>&lt;p&gt;Today I was troubleshooting a warning message that popped up when launching a network application with RES Workspace Manager:&lt;/p&gt; &lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2013/09/image.webp" class="glightbox thickbox" data-type="image" data-gallery="post-3380"&gt;&lt;img loading="lazy" decoding="async" title="Open file - Security Warning" style="display: inline" alt="The publisher could not be verified. Are you sure you want to run this software?" src="https://remkoweijnen.nl/blog/wp-content/uploads/2013/09/image_thumb.webp" width="240" height="170" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Usually this is a simple fix: add the servername (&lt;a href="file://server"&gt;file://server&lt;/a&gt;) to the Local Intranet zone:&lt;/p&gt; &lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2013/09/clip_image002.jpg" class="glightbox thickbox" data-type="image" data-gallery="post-3380"&gt;&lt;img loading="lazy" decoding="async" title="Local intranet" style="display: inline" alt="You can add and remove websites from this zone. All websites in this zone will use the zone&amp;#39;s security settings." src="https://remkoweijnen.nl/blog/wp-content/uploads/2013/09/clip_image002_thumb.jpg" width="240" height="209" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;That worked when I launched the application directly. However when launching the application with RES Workspace Manager I would still get the warning. Even stranger: when I clicked Cancel the application would still be launched.&lt;/p&gt;</description></item><item><title>Parse RES Building Blocks with PowerShell</title><link>https://remkoweijnen.nl/blog/2012/12/07/parse-res-building-blocks-with-powershell/</link><pubDate>Fri, 07 Dec 2012 13:29:20 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2012/12/07/parse-res-building-blocks-with-powershell/</guid><description>&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Background&lt;br&gt;
&lt;/span&gt;&lt;/strong&gt;Customer uses Citrix XenApp 5 with ThinApp, RES Workspace Manager and RES Workspace Extender.&lt;/p&gt;
&lt;p&gt;An application integration strategy is defined, the picture below displays the strategy and preferred order:&lt;/p&gt;
&lt;p&gt;&lt;a class="glightbox thickbox" href="https://remkoweijnen.nl/blog/wp-content/uploads/2012/12/image12.webp" data-type="image" data-gallery="post-2850"&gt;&lt;img loading="lazy" decoding="async" style="display: inline;" title="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/12/image_thumb12.webp" alt="image" width="399" height="136" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Question&lt;/span&gt;&lt;/strong&gt;&lt;br&gt;
Customer wanted to know the type (1..7) for all applications currently defined in RES Workspace Manager.&lt;/p&gt;
&lt;p&gt;I decided to export all the Applications from RES WM as Building Blocks. This results in a folder with XML files. I decided to parse the XML files with a PowerShell script.&lt;/p&gt;</description></item><item><title>PowerShell script to read Agent Guid from Automation Manager</title><link>https://remkoweijnen.nl/blog/2012/03/06/powershell-script-to-read-agent-guid-from-automation-manager/</link><pubDate>Tue, 06 Mar 2012 16:00:06 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2012/03/06/powershell-script-to-read-agent-guid-from-automation-manager/</guid><description>&lt;p&gt;From a script I needed to schedule a project in RES Automation Manager 2011 for a particular server.&lt;/p&gt; &lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2012/03/image2.webp" class="glightbox" data-type="image" data-gallery="post-2500"&gt;&lt;img loading="lazy" decoding="async" style="margin: 0px 3px 6px 0px; display: inline; float: left" title="image" alt="image" align="left" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/03/image_thumb2.webp" width="65" height="65" /&gt;&lt;/a&gt;This can be done with the WMC.exe commandline tool as documented in the &lt;a href="http://support.ressoftware.com/automationmanageradminguide/15833.htm" target="_blank"&gt;Admin Guide&lt;/a&gt;. However we must specify the agent's GUID instead of it's name. We can of course use the AM console to get the agent's GUID but it's more flexible to script this.&lt;/p&gt; &lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2012/03/image3.webp" class="glightbox" data-type="image" data-gallery="post-2500"&gt;&lt;img loading="lazy" decoding="async" style="display: inline; float: right" title="image" alt="image" align="right" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/03/image_thumb3.webp" width="78" height="121" /&gt;&lt;/a&gt;Unfortunately there's no API we can call so I am directly quering the AM database using a PowerShell script.&lt;/p&gt; &lt;p&gt;The script read the database server and database name from the registry so it assumes you have the AM console installed.&lt;/p&gt;</description></item><item><title>Change CD/DVD drive letter with RES Automation Manager</title><link>https://remkoweijnen.nl/blog/2012/02/17/change-cddvd-drive-letter-with-res-automation-manager/</link><pubDate>Fri, 17 Feb 2012 15:04:34 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2012/02/17/change-cddvd-drive-letter-with-res-automation-manager/</guid><description>&lt;p&gt;I needed to change the drive letter assigned to the cd/dvd station from an Automation Manager project.&lt;/p&gt; &lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2012/02/image2.webp" class="glightbox" data-type="image" data-gallery="post-2429"&gt;&lt;img loading="lazy" decoding="async" style="display: inline; float: right" title="DVD Drive" alt="DVD Drive Icon" align="right" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/02/image_thumb2.webp" width="68" height="67" /&gt;&lt;/a&gt;Although most systems only have one cd/dvd drive, some machines might be equipped with multiple drives.&lt;/p&gt; &lt;p&gt;A couple of years ago I wrote a tool called &lt;a href="https://remkoweijnen.nl/blog/2010/10/20/change-driveletter-commandline-tool/" target="_blank"&gt;ChDrvLetter&lt;/a&gt; that can assign a specific drive letter to a partition given it's volumename. In that tool I also included an option for CD/DVD drives.&lt;/p&gt; &lt;p&gt;Using the CDROM [Letters] parameter you can assign specific letters to the CD/DVD drives.&lt;/p&gt;</description></item><item><title>The XLSploit explained</title><link>https://remkoweijnen.nl/blog/2012/02/12/the-xlsploit-explained/</link><pubDate>Sun, 12 Feb 2012 23:36:34 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2012/02/12/the-xlsploit-explained/</guid><description>&lt;p&gt;Recently I published a &lt;a href="https://remkoweijnen.nl/blog/2012/01/27/bypassing-res-application-security/" target="_blank"&gt;Proof of Concept&lt;/a&gt; that showed it was possible to launch unauthorized processes with both AppSense Application Manager and RES Workspace Manager.&lt;/p&gt;
&lt;p&gt;Although I didn&amp;rsquo;t test Microsoft Applocker I have no doubt at all that we couldn&amp;rsquo;t bypass it.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2012/02/image1.webp" class="glightbox" data-type="image" data-gallery="post-2392"&gt;&lt;img loading="lazy" decoding="async" style="display: inline; float: right;" title="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/02/image_thumb1.webp" alt="image" width="100" height="97" align="right" /&gt;&lt;/a&gt;I have named my Proof of Concept the &lt;strong&gt;XLSploit&lt;/strong&gt; because I am using Excel as a trampoline. I choose Excel because this is generally a trusted process and VBA offers access to the Windows API that is needed.&lt;/p&gt;
&lt;p&gt;After publishing the XLSploit I have talked to both &lt;a href="http://www.ressoftware.com/" target="_blank"&gt;RES&lt;/a&gt; and &lt;a href="http://www.appsense.com/" target="_blank"&gt;AppSense&lt;/a&gt; and not that they both have a response to my Proof of Concept, I consider it safe to tell a little more about how it works.&lt;/p&gt;
&lt;p&gt;If you are merely interested in stopping the XLSploit, please scroll down to the end of the article.&lt;/p&gt;</description></item></channel></rss>