<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Atharv Natu on Medium]]></title>
        <description><![CDATA[Stories by Atharv Natu on Medium]]></description>
        <link>https://medium.com/@atharv.natu21?source=rss-1f8521cdee14------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*DVf-ZYOqoBpfab-BLza_oA.png</url>
            <title>Stories by Atharv Natu on Medium</title>
            <link>https://medium.com/@atharv.natu21?source=rss-1f8521cdee14------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 23:57:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@atharv.natu21/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[C# Toolchain]]></title>
            <link>https://medium.com/@atharv.natu21/c-toolchain-caecf77368a8?source=rss-1f8521cdee14------2</link>
            <guid isPermaLink="false">https://medium.com/p/caecf77368a8</guid>
            <category><![CDATA[c-sharp-programming]]></category>
            <category><![CDATA[roslyn]]></category>
            <category><![CDATA[dot-net-framework]]></category>
            <dc:creator><![CDATA[Atharv Natu]]></dc:creator>
            <pubDate>Wed, 12 Apr 2023 16:07:25 GMT</pubDate>
            <atom:updated>2023-04-12T16:15:56.144Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction to C#</strong></p><p>C# (pronounced as “C Sharp”) is a modern, object-oriented, and type-safe programming language. It enables developers to build many types of secure and robust applications that run in .NET. The latest stable version of C# is 11. This programming language has its roots in the C family of languages, along with object-oriented and component-oriented programming paradigms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/276/1*XvQ1MsvXOhAFloeBkvemuA.png" /></figure><p><strong>Features of C#</strong></p><ol><li><strong>Garbage collection</strong> — Automatically reclaims memory occupied by unreachable unused objects.</li><li><strong>Nullable types</strong> — Guard against variables that do not refer to allocated objects.</li><li><strong>Exception handling</strong> — Structured and extensible approach to error detection and recovery.</li><li><strong>Lambda expressions</strong> — Support functional programming techniques.</li><li><strong>Language Integrated Query (LINQ)</strong> — Creates a common pattern for working with data from any source.</li><li><strong>Unified Type System</strong> and <strong>Asynchronous Operations</strong></li></ol><p><strong>.NET Architecture</strong></p><p>C# programs run on .NET which is a virtual execution system called the <strong>Common Language Runtime (CLR)</strong> and a set of class libraries. The CLR is the implementation by Microsoft of the <strong>Common Language Infrastructure (CLI)</strong>, an international standard. This CLI is the basis for creating execution and development environments in which languages and libraries work together seamlessly.</p><p>Source code written in C# is compiled into <strong>Intermediate language (IL)</strong> which conforms to the CLI specification. The IL code and resources, such as bitmaps and strings, are stored in an assembly typically with an extension of .<em>dll</em>. An assembly contains a manifest that provides information about the assembly’s types, version and culture.</p><p>When the C# program is executed, the assembly is loaded into the CLR. The CLR performs <strong>Just-In-Time (JIT) </strong>compilation to convert the IL code to native machine instructions. THE CLR provides other services related to automatic garbage collection, exception handling, and resource management. Code that is executed by the CLR is sometimes called “managed code”. “Unmanaged code”, is compiled into native machine language that targets a specific platform.</p><p>Language interoperability is a key feature of .NET Framework. IL code produced by the C# compiler conforms to the<strong> Common Type Specification (CTS).</strong> IL code generated from C# can interact with code that was generated from the .NET versions of F#, Visual Basic, C++. There are more than 20 other CTS-compliant languages. A single assembly may contain multiple modules written in different .NET languages. The types can reference each other as if they were written in the same language.</p><p>Native C or C++ code is faster than any other language or framework, but it requires managing memory efficiently and correctly. On the other hand, VM-based technologies like Java offer garbage collection, which eliminates the need of memory management, at the cost of making Java execution much slower than Native Code. .NET provides the best of both worlds by using the .NET Native compilation technology and a small runtime that allows .NET applications to start up to 60% faster and have a smaller memory footprint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yCUixTSyh1mWtilR" /></figure><p><strong>Figure 1. .NET Toolchain</strong></p><p>The above figure explains how different programming languages can be used on .NET Framework by simply converting the source code into managed modules representing IL code. This intermediate language is then processed by the CLR which again converts it to native machine code for the CPU to execute.</p><p><strong>C# Compiler</strong></p><p>Earlier, up until C# 5.0, Microsoft used the csc.exe as the compiler for C# which was written using C++. Then, Microsoft started developing an open-source compiler for C# which was to be developed using C# itself, termed as <strong>Roslyn</strong>. The main aim for this development was to create an API that exposes the C# compiler as a service or as a set of modular libraries, which can be included in our project or application. The major advantage of this is that now it is possible for developers to do Code Analysis using Roslyn. Now, this is termed as .NET Compiler Platform SDK.</p><p><strong>Roslyn Architecture</strong></p><p>The Roslyn architecture separates compilation into 4 phases-</p><ol><li><strong>Parser </strong>— The parse phase or syntactic analyzer phase reads C# code, parses and tokenizes it, and generates syntax trees.</li><li><strong>Symbols and Metadata — </strong>The declaration phase analyzes source and imported metadata to form named symbols.</li><li><strong>Binder — </strong>The bind phase matches identifiers in the code to symbols. In this phase, the static binding takes place. Assembly references are read, and the compiler determines, for instance, that “Console” refers to System.Console in the System.Console.dll. Overload resolution and type inference are a part of this phase too.</li><li><strong>IL Emitter — </strong>The emit phase produces output assembly with all the information built up by the compiler.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*s3bvUHMOsrx6WbbF" /></figure><p>Reference — <a href="https://learn.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/compiler-api-model">https://learn.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/compiler-api-model</a></p><p><strong>Figure 2. .NET Compiler Pipeline</strong></p><p>In the .NET Compiler Platform, every phase in the compilation process is treated as a separate component surfaced by an object model that exposes information for that phase in the form of .NET objects.</p><ul><li>The parsing phase is represented by a Syntax Tree. A syntax tree is a Document Object Model (DOM) that describes the source code in a tree structure.</li><li>The symbols and metadata phase is represented by a hierarchical symbol table.</li><li>The binder phase is represented by an object model that exposes results of the semantic analysis the compiler performs over the information collected at that point.</li><li>The IL emitter phase is represented by the Emit API, which produces IL byte codes.</li></ul><p>The .NET Compiler Platform exposes the Compiler APIs and the Workspace APIs through a set of .NET assemblies. Following is the list of the most important assemblies:</p><ul><li><strong>Microsoft.CodeAnalysis.dll</strong> — Exposes the language-agnostic set of Compiler APIs.</li><li><strong>Microsoft.CodeAnalysis.VisualBasic.dll </strong>— Exposes Compiler APIs tailored for Visual Basic</li><li><strong>Microsoft.CodeAnalysis.CSharp.dll </strong>— Exposes Compiler APIs tailored for C#</li><li><strong>Microsoft.CodeAnalysis.Workspaces.dll</strong> — Exposes a common set of the Workspaces APIs.</li><li><strong>Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll</strong> — Exposes a common set of the Workspaces APIs tailored for Visual Basic</li><li><strong>Microsoft.CodeAnalysis.CSharp.Workspaces.dll</strong> — Exposes a common set of the Workspaces APIs tailored for C#</li><li><strong>Microsoft.CodeAnalysis.Common.dll </strong>— Exposes common utilities for code analysis.</li><li><strong>System.Collections.Immutable.dll</strong> — Exposes special, immutable collections used to work with syntax trees’ immutability.</li></ul><p><strong>C# with Visual Studio</strong></p><ol><li>To use the code analysis features that Roslyn provides with C#, download Microsoft Visual Studio 2022 using the following link — https://visualstudio.microsoft.com/</li><li>Run the installer, select <strong>.NET desktop development</strong> and in the <strong>Individual components</strong> list, select <strong>DGML editor</strong> and<strong> C# and Visual Basic Roslyn compilers.</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TIg53Ga4Myx1udoT" /></figure><p>3. After the installation is complete, run Visual Studio 2022, select <strong>Create a New Project</strong> and select <strong>Standalone Code Analysis Tool</strong> project template by choosing language as C#. Name and create a project in your desired location.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PSMmB8fH5DKqBtKJ" /></figure><p>4. Edit the Program.cs file and enter the following code</p><p>This code sample has been taken from the Microsoft GitHub repository for performing Syntax Analysis —</p><pre>using static System.Console;<br><br>using System.Linq;<br><br>using Microsoft.CodeAnalysis;<br>using Microsoft.CodeAnalysis.CSharp;<br>using Microsoft.CodeAnalysis.CSharp.Syntax;<br><br>namespace RoslynCodeAnalysis<br>{<br>    class HelloWorldSyntaxTree<br>    {<br>        const string programText =<br>            @&quot;using System;<br>            using System.Collections;<br>            using System.Linq;<br>            using System.Text;<br>            <br>            namespace HelloWorldProgram<br>            {<br>                class HelloWorld<br>                {<br>                    static void Main(string[] args, int argc)<br>                    {<br>                        Console.WriteLine(&quot;&quot;Hello World !!!&quot;&quot;);<br>                    }<br>                }<br>            }&quot;;<br><br>        static void Main(string[] args)<br>        {<br>            SyntaxTree tree = CSharpSyntaxTree.ParseText(programText);<br>            CompilationUnitSyntax root = tree.GetCompilationUnitRoot();<br><br>            WriteLine($&quot;Tree Kind = {root.Kind()}&quot;);<br><br>            WriteLine($&quot;\nNo. of Elements in Tree = {root.Members.Count}&quot;);<br><br>            WriteLine($&quot;\nNo. of &#39;using&#39; statements in Tree = {root.Usings.Count}&quot;);<br>            foreach (UsingDirectiveSyntax element in root.Usings)<br>            {<br>                WriteLine($&quot;{element.Name}&quot;);<br>            }<br><br>            MemberDeclarationSyntax firstMember = root.Members[0];<br>            WriteLine($&quot;\n1st Member in Tree = {firstMember.Kind()}&quot;);<br><br>            var helloWorldDeclaration = (NamespaceDeclarationSyntax)firstMember;<br>            WriteLine($&quot;\nNo. of Members in Namespace = {helloWorldDeclaration.Members.Count}&quot;);<br>            WriteLine($&quot;\n1st Member in Namespace : &quot;);<br>            WriteLine($&quot;\t{helloWorldDeclaration.Members[0]}&quot;);<br>            WriteLine($&quot;\nType of 1st Member in Namespace = {helloWorldDeclaration.Members[0].Kind()}&quot;);<br><br>            var programDeclaration = (ClassDeclarationSyntax)helloWorldDeclaration.Members[0];<br>            WriteLine($&quot;\nNo. of Members Declared in &#39;{programDeclaration.Identifier}&#39; Class = {programDeclaration.Members.Count}&quot;);<br>            WriteLine($&quot;\nType of 1st Member in &#39;{programDeclaration.Identifier}&#39; Class = {programDeclaration.Members[0].Kind()}&quot;);<br><br>            var mainDeclaration = (MethodDeclarationSyntax)programDeclaration.Members[0];<br>            WriteLine($&quot;\nReturn Type of {mainDeclaration.Identifier} = {mainDeclaration.ReturnType}&quot;);<br>            WriteLine($&quot;\nNo. of Parameters To {mainDeclaration.Identifier} = {mainDeclaration.ParameterList.Parameters.Count}&quot;);<br>            foreach (ParameterSyntax item in mainDeclaration.ParameterList.Parameters)<br>            {<br>                WriteLine($&quot;\nType of {item.Identifier} = {item.Type}&quot;);<br>            }<br>            WriteLine($&quot;\nDefinition of {mainDeclaration.Identifier} : &quot;);<br>            WriteLine(mainDeclaration.Body.ToFullString());<br><br>            var argsParameter = mainDeclaration.ParameterList.Parameters[0];<br><br>            // Query methods<br>            var firstParameters = from methodDeclaration in root.DescendantNodes().OfType&lt;MethodDeclarationSyntax&gt;()<br>                                  where methodDeclaration.Identifier.ValueText == &quot;Main&quot;<br>                                  select methodDeclaration.ParameterList.Parameters.First();<br><br>            var argsParameter2 = firstParameters.Single();<br><br>            WriteLine(argsParameter == argsParameter2);<br><br>        }<br>    }<br>}</pre><p><strong>Output</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/737/0*o6LbQwWt704FFERe" /></figure><p><strong>Syntax Analysis</strong></p><p>The Syntax API is used for analysis of the structure of C# code. The Syntax API exposes the parsers, the syntax trees, and utilities for analyzing and constructing syntax trees. This API creates a tree structure with the root representing the compilation unit. Nodes in the tree represent the using directives, namespace declaration and all other elements of the program. A syntax tree is a data structure used by the C# and Visual Basic compilers which are immutable in nature. Trivia, tokens, and nodes are composed hierarchically to form a tree that completely represents everything in a fragment of Visual Basic or C# code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/0*oISkr_XGygsrAgX0" /></figure><p>Reference — <a href="https://learn.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/get-started/syntax-analysis">https://learn.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/get-started/syntax-analysis</a></p><p><strong>Figure 2. Syntax Visualizer with Visual Studio 2022</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/695/0*tm7F24thrE9BfB64" /></figure><p><strong>Figure 3. Syntax Graph of Parameter List of Main() method</strong></p><p>Above figure demonstrates the use of the DGML Editor facility provided by Microsoft Visual Studio.</p><p><strong>Semantic Analysis</strong></p><p>Semantic Analysis includes Symbol and Binding APIs which provide information about the semantic meaning of the program. This includes Symbols — entities such as types, namespaces, members and variables which names and other expressions refer to. The process of associating names and expressions with Symbols is called Binding.</p><p>Create a similar project as created above for demonstrating the use of Semantic Model in Roslyn APIs. Edit the Program.cs and add the following code -</p><pre>using static System.Console;<br><br>using System.Linq;<br><br>using Microsoft.CodeAnalysis;<br>using Microsoft.CodeAnalysis.CSharp;<br>using Microsoft.CodeAnalysis.CSharp.Syntax;<br><br>namespace RoslynCodeAnalysis<br>{<br>    class HelloWorldSyntaxTree<br>    {<br>        const string programText =<br>            @&quot;using System;<br>            using System.Collections;<br>            using System.Linq;<br>            using System.Text;<br>            <br>            namespace HelloWorldProgram<br>            {<br>                class HelloWorld<br>                {<br>                    static void Main(string[] args, int argc)<br>                    {<br>                        Console.WriteLine(&quot;&quot;Hello World !!!&quot;&quot;);<br>                    }<br>                }<br>            }&quot;;<br><br>        static void Main(string[] args)<br>        {<br>            SyntaxTree tree = CSharpSyntaxTree.ParseText(programText);<br><br>            CompilationUnitSyntax root = tree.GetCompilationUnitRoot();<br><br>            var compilation = CSharpCompilation.Create(&quot;HelloWorldProgram&quot;)<br>                              .AddReferences(MetadataReference.CreateFromFile(typeof(string).Assembly.Location))<br>                              .AddSyntaxTrees(tree);<br>            <br>            // Binding a name<br>            SemanticModel model = compilation.GetSemanticModel(tree);<br><br>            UsingDirectiveSyntax usingSystem = root.Usings[0];<br>            NameSyntax systemName = usingSystem.Name;<br><br>            SymbolInfo nameInfo = model.GetSymbolInfo(systemName);<br><br>            var systemSymbol = (INamespaceSymbol)nameInfo.Symbol;<br>            foreach(INamespaceSymbol namespaceSymbol in systemSymbol.GetNamespaceMembers())<br>            {<br>                WriteLine(namespaceSymbol);<br>            }<br><br>        }<br>    }<br>}</pre><p><strong>Output</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/0*sQyirxFYnYHosvmy" /></figure><p><strong>Conclusion</strong></p><p>To summarize, we learnt about internal working of C#, the execution environment on which it runs, the internal compiler pipeline phases along with using the Platform SDK APIs to explore our code written using C# for performing Code Analysis with respect to Compiler Design.</p><p><strong>References</strong></p><ol><li><a href="https://learn.microsoft.com/en-us/dotnet/">https://learn.microsoft.com/en-us/dotnet/</a></li><li><a href="https://www.c-sharpcorner.com/UploadFile/25c78a/using-microsoft-roslyn/">https://www.c-sharpcorner.com/UploadFile/25c78a/using-microsoft-roslyn/</a></li><li><a href="https://devblogs.microsoft.com/dotnet/the-net-native-tool-chain/">https://devblogs.microsoft.com/dotnet/the-net-native-tool-chain/</a></li><li><a href="https://en.wikipedia.org/wiki/Roslyn_(compiler)">https://en.wikipedia.org/wiki/Roslyn_(compiler)</a></li><li>Richter, J. (2012). <em>CLR via C#</em>. Pearson Education.</li><li>Albahari, J. (2022). <em>C# 10 in a Nutshell: The Definitive Reference</em>. O’Reilly Media.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=caecf77368a8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Virtualization-based Security (VBS)]]></title>
            <link>https://medium.com/@atharv.natu21/virtualization-based-security-vbs-ee108e71ac6?source=rss-1f8521cdee14------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee108e71ac6</guid>
            <dc:creator><![CDATA[Atharv Natu]]></dc:creator>
            <pubDate>Wed, 30 Nov 2022 14:12:09 GMT</pubDate>
            <atom:updated>2022-11-30T18:42:17.304Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*heUyJUGON07cRbudgahhWQ.jpeg" /><figcaption>Reference — <a href="https://www.accuwebhosting.com/blog/wp-content/uploads/2020/04/hyper-virtualization.jpg">https://www.accuwebhosting.com/blog/wp-content/uploads/2020/04/hyper-virtualization.jpg</a></figcaption></figure><p><strong>Introduction to Virtualization-based Security</strong></p><p>Virtualization-based security (VBS) is a technology that, through data abstraction, separates processes and hardware from the underlying operating system. It isolates the processes from one another to protect the operating system and devices from malware and viruses.</p><p>Instead of running those processes directly on the native operating system, VBS is heavily reliant on a hypervisor, which creates virtual machines or containers (VMs) that host system processes and store their data. The idea behind VBS is that if an isolated process is attacked, the attack will not be able to spread outside of the virtual machine. An attacker cannot use a vulnerability in one process to steal data from another application or to encrypt the entire computer with ransomware.</p><p><strong>Need for VBS</strong></p><ol><li><strong>Enhanced Cybersecurity</strong> — A really important aspect in today’s world, as the volume of malicious software and cybercriminals increases daily.</li><li><strong>Data Protection </strong>— VBS protects security assets such as authenticated user credentials. It creates a secure environment that can host several security features. VBS improves platform security to a greater extent.</li><li><strong>Key Software Isolation</strong> — VBS hugely isolates key applications and prevents them from being affected by either malware or unstable updates. This means using VBS you will be able to anchor the key application data in a safe environment. Consider, you could run your favorite browser like Chrome, Firefox, etc., entirely inside a virtual machine or a virtual container. Then, you can click on any link or visit any page without worrying about the adverse effects on the browser application. Once you close the application and delete the VM, you will have the same settings originally copied from the host machine.</li></ol><p><strong>Drawback of VBS</strong></p><ul><li>VBS protects the device by creating a virtual machine as a buffer. It does not hold any jurisdiction outside the virtual machine. i.e., VBS will not protect your computer from infections through apps not running with VBS. If removable storage like USB devices directly infects a computer, your system would not be safe.</li><li>You should run VBS together with antivirus, anti-spyware and a reliable firewall, helping to create a multi-layered cyber defense for your operations.</li></ul><p><strong>What is Windows Virtualization-based Security ?</strong></p><p>Hardware virtualization features are provided by CPU manufacturers like Intel and AMD along with OEMs (Open Equipment Manufacturer) for producing the chipsets. VBS makes use of these features to create and isolate a secure memory region, i.e., RAM, from the native or host operating system. Microsoft Windows hosts a number of security solutions in this “virtual secure mode.” This provides them with significantly increased protection against operating system vulnerabilities and also prevents the use of malicious exploits that attempt to circumvent various mechanisms’ protections.</p><p>Microsoft’s Hypervisor-Enforced Code Integrity (HVCI), also known as Memory Integrity, is an example of such a security solution. This makes extensive use of VBS to strengthen code integrity policy enforcement. Kernel mode code integrity verifies all kernel mode binaries and drivers before they are launched, preventing the loading of unsigned system files or drivers into system memory.</p><p>VBS uses the <strong>Windows Hypervisor</strong> to create a virtual secure mode for executing potentially harmful or malicious processes. This helps to instill constraints, which ultimately protect critical operating system resources. Because of the enhanced protections provided by VBS, even if malware, viruses, or worms gain access to the OS kernel, the potential for exploits and destruction is greatly reduced. This is due to the hypervisor’s ability to prevent malware from executing code or accessing platform secrets, which are critical to the business model because they are proprietary.</p><p>Along similar lines, we also have user mode code integrity which is configurable in nature. This mechanism performs various checks on programs before they are loaded into RAM by the loader, and will only start processes signed by known and approved signers. HVCI makes the most of VBS to run the code integrity service. One of the most privileged levels of system software, known as the hypervisor, performs the task of setting and enforcing page permissions across all system memory. If the code integrity checks performed inside the secure region are valid, then only the pages are made executable. These executable pages are not writable. Because of this, even if a situation or vulnerability like buffer overflow occurs, which allows malware to try and modify the memory, the code pages cannot be tampered with at all. Along with this, modified memory also cannot be made executable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/999/0*yCgLkc4IxTGgbs4j" /><figcaption><strong>Reference — </strong><a href="https://techcommunity.microsoft.com/"><strong>https://techcommunity.microsoft.com</strong></a></figcaption></figure><p><strong>Bromium Micro-Virtualization</strong></p><p>Bromium was founded in 2010 as a startup with the express goal of creating virtualization solutions and reducing endpoint threats such as malware or viruses. They partnered with Microsoft in 2015, and their VBS solutions were and still are available on Windows 10, currently running version 22H2.</p><p>How Bromium’s VBS solution works is that it has virtual machines on a buffer, which can even integrate as hardware solutions. If a malicious or an untrusted process starts execution, it will create a virtual machine just for that process. After that, it starts the process in sandbox mode. In this sandbox, it will both run the process and start checking for malware. During all of this, the process and main operating system are separate. Once the process is done, the virtual machine and any malware behind it will be gone.</p><p>This protection has specific uses in protecting from dangerous attacks such as malware links and phishing. If you click on the malware link in the browser, it will start in the virtual machine which takes very little processing power. Then, if the current page is indeed a malware, it will be terminated. The Bromium VBS adds this page to the block list, preventing it from ever infecting the system, just like us blocking unwanted contacts.</p><p><strong>How does Windows 11 use VBS ?</strong></p><p>The VBS feature came into the spotlight with Windows 11 and comes enabled by default on newer systems. This feature also exists in Windows 10, but it consumes a lot of system resources. Microsoft is slowly working their way out to solving this issue via security patches for Windows 10. From Windows 10, HVCI runs all untrusted applications through a virtual machine primarily, tests for <strong>malware, spyware, and viruses</strong>. It also <strong>prevents block-listed apps and processes</strong> from running on your Windows device.</p><p><strong>Requirements for Windows 11</strong> -</p><ol><li>Intel 8th Gen or above / AMD Ryzen 3000 (Zen2) and above 64-bit CPU with hardware acceleration features like Intel VT-x or AMD-V</li><li>Trusted Platform Module (TPM) Version 2.0</li><li>Unified Extensible Firmware Interface (UEFI)</li><li>HVCI compatible drivers</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GBur6JfiJAfun6EQ" /><figcaption><strong>Fig. Windows 11 Security Settings</strong></figcaption></figure><p>From the above figure, we can see the Memory integrity option which is another name for HVCI. This option prevents exposure from kernel-level attacks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uJHwfA9ly5kRt6Jl" /><figcaption><strong>Fig. Windows 11 System Information</strong></figcaption></figure><p>The above figure shows VBS information available in the System Information application present in Windows operating systems. This VBS feature is only applicable to Windows 10 and Windows 11.</p><p><strong>Conclusion</strong></p><p>To conclude, Virtualization-based security is a brilliant technological advancement, which will surely help to protect our operating system and hence our data. It provides more benefits than that of limitations. Ofcourse, there are some drawbacks, which will be surely looked upon as the need for cyber security for protecting user data is of utmost importance.</p><p><strong>Authors — TY CS-D Group 81</strong></p><p>Atharv Natu</p><p>Uttkarsh Patel</p><p>Sneha Palwe</p><p>Bhavin Patil</p><p><strong>References</strong></p><ol><li><a href="https://learn.microsoft.com/en-us/windows-hardware/design/device-experiences/oem-vbs"><strong>https://learn.microsoft.com/en-us/windows-hardware/design/device-experiences/oem-vbs</strong></a></li><li><a href="https://techgenix.com/virtualization-based-security-vbs/"><strong>https://techgenix.com/virtualization-based-security-vbs/</strong></a></li><li><a href="https://www.techtarget.com/searchenterprisedesktop/definition/virtualization-based-security-VBS"><strong>https://www.techtarget.com/searchenterprisedesktop/definition/virtualization-based-security-VBS</strong></a></li><li><a href="https://www.makeuseof.com/what-is-virtualization-based-security-windows/"><strong>https://www.makeuseof.com/what-is-virtualization-based-security-windows/</strong></a></li><li><a href="https://www.anoopcnair.com/disable-virtualization-based-security-windows/"><strong>https://www.anoopcnair.com/disable-virtualization-based-security-windows/</strong></a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee108e71ac6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How AI has helped ISRO and the Space Industry]]></title>
            <link>https://medium.com/@atharv.natu21/how-ai-has-helped-isro-and-the-space-industry-9776985a5a3d?source=rss-1f8521cdee14------2</link>
            <guid isPermaLink="false">https://medium.com/p/9776985a5a3d</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[space-industry]]></category>
            <category><![CDATA[isro]]></category>
            <dc:creator><![CDATA[Atharv Natu]]></dc:creator>
            <pubDate>Tue, 22 Nov 2022 19:25:34 GMT</pubDate>
            <atom:updated>2022-11-25T18:24:52.937Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sXCsPEXtnAoQ1oKMkxkJ-A.jpeg" /></figure><p>AI or Artificial Intelligence gives computers the ability to think and make decisions just like humans. The term describes machines that mimic and display human-like skills that are associated with human intelligence. The idea is to give computers the ability to analyze the environment and other variables in order to provide the best chance of achieving a specific goal. Machine learning is a subset of artificial intelligence in which the computer teaches itself what is important and what is not for decision making, allowing it to adapt to different situations. These techniques require complex algorithms for efficient decision making and massive computational power in order to train the machine.</p><p>Today AI is present if not rising in almost every aspect of human life, be it healthcare where it helps doctors to identify tumors in x-rays or to classify whether a cancer is malignant or benign, be it transport where companies like Tesla who are enhancing their self-driving cars to be more efficient, be it agriculture where based on weather predictions farmers can decide which crop can give a better yield or be it entertainment where you are recommended movies/shows based on your previous likings.</p><p><strong>AI and ML in space operations</strong></p><p>There are various areas of space operations where researchers rely heavily on AI, some of them are -</p><ol><li><strong>Data Collection</strong> — AI used on spacecrafts can detect and recognize features that are nominal, such as typical weather patterns, and classify them from unusual patterns like smoke plumes from volcanic activity to create maps and data sets. Using AI, we can determine which datasets are important to send to ground stations for further analysis and processing, easing the burdens of networks for transmission of such a large volume of data.</li><li><strong>Autonomous Navigation and Maneuvering</strong> — If we take the example of the recent Perseverance mission, the communication delay between Earth and the rover was about 12 minutes, which makes it impossible for the mission control on earth to make real time decisions for the rover. Hence the whole operation from separation, navigation, maneuvering and touchdown had to be performed by the onboard computers present on the rover using artificial intelligence. Same can be said for the Chandrayaan2 mission by ISRO.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*2S1kp45klJ_Vmg467Y_eIA.jpeg" /><figcaption>Reference — <a href="https://images.csmonitor.com/csm/2021/02/0218%20Mars_Missions.jpg?alias=standard_900x600nc">https://images.csmonitor.com/csm/2021/02/0218%20Mars_Missions.jpg?alias=standard_900x600nc</a></figcaption></figure><p><strong>3. Mission Operations</strong> — AI and ML can be used to assess safety-critical missions, where it can detect internal and external events and react accordingly ensuring fulfillment of mission objectives.</p><p><strong>4. On-Orbit Spacecraft Maintenance</strong> — In order to increase the life of a deployed satellite, several actions are needed to be performed, like refueling, upgrading hardware, service of jammed systems etc. NASA’s On-Orbit Servicing, Assembly and Manufacturing 1 (OSAM, before Restore-L) is a robotic spacecraft equipped with the tools, techniques and technologies needed to extend satellites’ lifespan.</p><p><strong>ISRO and AI</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/190/1*mBdN5liiWaR-dQYhTHbesA.png" /><figcaption>Reference — <a href="https://upload.wikimedia.org/wikipedia/commons/thumb/b/bd/Indian_Space_Research_Organisation_Logo.svg/450px-Indian_Space_Research_Organisation_Logo.svg.png?20150629021610">https://upload.wikimedia.org/wikipedia/commons/thumb/b/bd/Indian_Space_Research_Organisation_Logo.svg/450px-Indian_Space_Research_Organisation_Logo.svg.png?20150629021610</a></figcaption></figure><ol><li><strong>Chandrayaan 2 (Pragyan Rover)</strong> — ISRO launched Chandrayaan 2 into the earth’s orbit on 22 July 2019 on GSLV Mark-III. The spacecraft consisted of the Orbiter, the lander Vikram and the rover Pragyan. The Pragyan rover is powered by an AI framework and tools that help the rover to maneuver on the lunar surface and aid in landing.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*nZzwQsMp7qIubqoPrFAx_w.jpeg" /><figcaption>Reference — <a href="https://cdn.wionews.com/sites/default/files/styles/story_page/public/2020/08/01/152583-untitled-design-10.jpg">https://cdn.wionews.com/sites/default/files/styles/story_page/public/2020/08/01/152583-untitled-design-10.jpg</a></figcaption></figure><p><strong>2. Multi Object Tracking Radar (MOTR)</strong> — It is an L-Band Active Phased Array Radar, with the main objective of tracking 0.25m2 sized space debris in LEO up to an altitude of 800km. It is located in Satish Dhawan Space Center, Shriharikota, Andhra Pradesh.</p><p><strong>3. Image Processing and Pattern Recognition</strong> — In order to detect, recognize and track objects in high resolution images.</p><p><strong>4. Structural Health Monitoring</strong> — It is important to test the different components of composite structures used in aircraft and re-entry vehicles. It has become an important approach to increase safety and reduce the maintenance costs. Neural network is one of the tools which is used to classify sensor malfunctioning and structural failure(s) based on strain patterns of healthy and unhealthy structures.</p><p><strong>5. Measurement Parameter Estimation</strong> — Soft sensor estimation can be used for the prediction of different pressure, temperature, flow, load-cell and level measurements provided that we have already measured parameters for a particular system/hardware. This is achievable with the use of Artificial Neural Networks using the data fusion techniques.</p><p><strong>6. Automated Assembly Inspection</strong> — Space hardware is made up of multiple parts connected together in a functional arrangement using various types of joints and processes. ISRO is actively researching the implication of Artificial Intelligence in the automation of the space hardware quality check.</p><p><strong>7. Geographic Monitoring</strong> — The National Remote Sensing Centre (NRSC) is in charge of satellite data acquisition and processing. It is a disaster management monitoring center that observes various events. The new system, which combines optical remote sensing, geographic information systems, artificial intelligence, and automation, enables experts to monitor and detect small-scale deforestation. This is said to increase the reporting frequency from once a year to once a month. The ISRO hopes to use the new technology to prevent negative changes in green cover and to protect wildlife.</p><p><strong>NASA and AI</strong></p><p>NASA, unlike ISRO, is not constrained by limited resources, so they have many branches to investigate various aspects of space. NASA is making strides in artificial intelligence (AI) applications for space research, such as automating image analysis for galaxy, planet, and star classification, developing autonomous space probes, and so on. Moreover, NASA is now working in collaboration with companies that have made substantial advances in AI, such as IBM, Intel, and Google, to apply computer algorithms to solve challenges in space science. Some of the areas where NASA is using AI are :-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*sr35Pz6K1zg7Oy_kYmzU2Q.png" /><figcaption>Reference — <a href="https://www.nasa.gov/sites/default/files/thumbnails/image/nasa-logo-web-rgb.png">https://www.nasa.gov/sites/default/files/thumbnails/image/nasa-logo-web-rgb.png</a></figcaption></figure><ol><li><strong>Healthcare in space</strong> — With plans for long-duration missions to Mars, NASA and private companies like SpaceX are searching io AI-assisted prognosis, therapies, and even prediction of in-space illnesses.</li><li><strong>Navigation</strong> — NASA’s DART (Double Asteroid Redirection Test) team imitates a spacecraft’s propulsive influence with its target asteroid, Dimorphous. It was a test to see whether such an impact could alter the original trajectory of a celestial object and demonstration of asteroid deflection technology. The spacecraft used AI to find and lock on the target (here the asteroid), and also to make autonomous adjustments in order to maintain a proper collision path. Another place where AI navigation was used was in the recent Perseverance mission. Since the communication delay between the rover and earth was about 12 minutes; it was impossible to make real-time landing decisions for the rover. Hence the rover with the help of AI navigated itself to the right crater where it was supposed to land. Even before popular companies like Tesla or Google launched their self-driving cars, it was NASA who pioneered in autonomous driving, they used this in their previous mars missions as well.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o9mNFLV_biSHkTYSFVytmQ.jpeg" /><figcaption>Reference — <a href="https://www.nasa.gov/sites/default/files/styles/full_width/public/thumbnails/image/dart_2.jpg?itok=bO5jN_f1">https://www.nasa.gov/sites/default/files/styles/full_width/public/thumbnails/image/dart_2.jpg?itok=bO5jN_f1</a></figcaption></figure><p><strong>3. Recalibration of instruments</strong> — Sensors and lenses in numerous pieces of equipment end up losing accuracy over period; for instance, a solar telescope is continuously barraged with an unending stream of solar particles and strenuous sunlight. The lenses of the telescope deteriorate as time passes. To ensure that the data from those telescopes is still accurate they are needed to be periodically recalibrated. Earlier readings from sounding rockets were compared with the telescopes, and adjustments were made. But that had its own challenges, one of which was that it was not an option for deep space missions. Hence machine learning was used in order for those recalibrations.</p><p>ISRO’s budget for the year 2022–23 is ₹13,700 Crore ($ 1.7 Billion) whereas the budget for NASA is $ 22.6 billion, in spite of this huge difference ISRO has been able to achieve massive milestones. ISRO is constantly exploring different areas where it can implement AI.</p><p><strong>References</strong></p><p>1. S. R. [SRE], “How ISRO uses machine learning?” Medium, 20-Oct-2020. [Online]. Available: <a href="https://developer-shubham-rasal.medium.com/how-isro-uses-machine-learning-25be23430713.">https://developer-shubham-rasal.medium.com/how-isro-uses-machine-learning-25be23430713.</a> (Accessed: October 22, 2022).</p><p>2. GSLV MKIII-M1 successfully launches chandrayaan-2 spacecraft. Available at: <a href="https://pib.gov.in/newsite/PrintRelease.aspx?relid=192082">https://pib.gov.in/newsite/PrintRelease.aspx?relid=192082</a> (Accessed: October 22, 2022).</p><p>3. News and events UN. Available at: <a href="https://un-spider.org/news-and-events">https://un-spider.org/news-and-events</a> (Accessed: October 25, 2022).</p><p>4. Nagpal, A. (2021) How does ISRO and NASA uses machine learning, LinkedIn. Available at: <a href="https://www.linkedin.com/pulse/how-does-isro-nasa-uses-machine-learning-aakash-nagpal">https://www.linkedin.com/pulse/how-does-isro-nasa-uses-machine-learning-aakash-nagpal</a> (Accessed: October 30, 2022).</p><p>5. 11th international radar symposium india — 2017 (IRSI-17) observationsAvailable at: <a href="http://www.radarindia.com/Proceedings%20Archive/IRSI-17/062.pdf">http://www.radarindia.com/Proceedings%20Archive/IRSI-17/062.pdf</a> (Accessed: October 26, 2022).</p><p>6. Generation of dem through single image of chandrayaan-2 OHRC Official website of Indian Institute of Remote Sensing, Indian Space Research Organisation, Government of India. Available at: <a href="https://www.iirs.gov.in/">https://www.iirs.gov.in/</a> (Accessed: October 31, 2022).</p><p>7. ISRO Cell Home Page. Available at: <a href="http://www.csre.iitb.ac.in/isro_cell/">http://www.csre.iitb.ac.in/isro_cell/</a> (Accessed: October 31, 2022).</p><p>8. New Monitoring System strengthens forest conservation in India UN. Available at: <a href="https://www.un-spider.org/news-and-events/news/new-monitoring-system-strengthens-forest-conservation-india">https://www.un-spider.org/news-and-events/news/new-monitoring-system-strengthens-forest-conservation-india</a> (Accessed: October 31, 2022).</p><p>9. Department of Space / ISRO INDIA ai. Available at: <a href="https://indiaai.gov.in/ministries/department-of-space-isro?initiative=autonomously-navigating-robot-for-space-mission-iisu">https://indiaai.gov.in/ministries/department-of-space-isro?initiative=autonomously-navigating-robot-for-space-mission-iisu</a> (Accessed: November 1, 2022).</p><p>10. Bardan, R. (2022) NASA confirms Dart Mission Impact Changed Asteroid’s motion in space, NASA. NASA. Available at: <a href="https://www.nasa.gov/press-release/nasa-confirms-dart-mission-impact-changed-asteroid-s-motion-in-space/">https://www.nasa.gov/press-release/nasa-confirms-dart-mission-impact-changed-asteroid-s-motion-in-space/</a> (Accessed: November 2, 2022).</p><p>11. Darling, S. (2021) Artificial Intelligence helps improve NASA’s eyes on the sun, NASA. NASA. Available at: <a href="https://www.nasa.gov/feature/goddard/2021/artificial-intelligence-helps-improve-nasa-s-eyes-on-the-sun/">https://www.nasa.gov/feature/goddard/2021/artificial-intelligence-helps-improve-nasa-s-eyes-on-the-sun/</a> (Accessed: November 1, 2022).</p><p>12. Shekhtman, S. (2019) NASA applying AI technologies to problems in space science, NASA. NASA. Available at: <a href="https://www.nasa.gov/feature/goddard/2019/nasa-takes-a-cue-from-silicon-valley-to-hatch-artificial-intelligence-technologies/">https://www.nasa.gov/feature/goddard/2019/nasa-takes-a-cue-from-silicon-valley-to-hatch-artificial-intelligence-technologies/</a> (Accessed: November 1, 2022).</p><p>13. Terry, S. (2021) Artificial Intelligence and the future of Space Exploration, a.i. solutions. Available at: <a href="https://ai-solutions.com/newsroom/about-us/news-multimedia/artificial-intelligence-and-the-future-of-space-exploration/">https://ai-solutions.com/newsroom/about-us/news-multimedia/artificial-intelligence-and-the-future-of-space-exploration/</a> (Accessed: November 2, 2022).</p><p>14. Use of AI and ML in NASA.Available at: <a href="https://www.analyticsinsight.net/use-of-artificial-intelligence-and-machine-learning-in-nasa/">https://www.analyticsinsight.net/use-of-artificial-intelligence-and-machine-learning-in-nasa/</a> (Accessed: November 1, 2022).</p><p>15. Will virtual doctors care for future astronauts? the promise and perils of AI in space medicine The University of Chicago. Available at: <a href="https://sifk.uchicago.edu/news/will-virtual-doctors-care-for-future-astronauts-the-promise-and-perils-of-ai-in-space-medicine/">https://sifk.uchicago.edu/news/will-virtual-doctors-care-for-future-astronauts-the-promise-and-perils-of-ai-in-space-medicine/</a> (Accessed: November 2, 2022).</p><p><strong>Authors:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/121/1*UTA3xVJMCN9buSpcebWCNg.png" /></figure><p><strong>Uttkarsh Patel</strong></p><p><strong>Atharv Natu</strong></p><p><strong>Sneha Palwe</strong></p><p><strong>Bhavin Patil</strong></p><p><strong>Department of Computer Engineering</strong></p><p><strong>Vishwakarma Institute of Technology, Pune</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9776985a5a3d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>