Jump to content


Photo

Microsoft .NET Native


34 replies to this topic

#1 kao

kao

    Reverser

  • VIP
  • PipPipPipPipPipPip
  • 1,165 posts
  • Gender:Male
  • Team:Freelancer

Posted 03 April 2014 - 10:52 PM

What happens when .NET code is statically compiled to machine code (versus runtime compiled via JIT) by the VC++ back end compiler? You get highly optimized binaries that load and run faster than .NET code ever has before. Yes, my friends, .NET has gone native! :)


Currently it's limited to Windows Store apps for ARM and x64, but judging from their presentation, they are going to extend it to all .NET Framework eventually.. :)

Main topic: http://msdn.microsof...io/dotnetnative (download link inside, might require registration).
Presentation video: http://channel9.msdn...side-NET-Native
  • 3

#2 spudiod

spudiod

    Junior

  • Members
  • Pip
  • 22 posts
  • Gender:Male
  • Team:none

Posted 03 April 2014 - 11:09 PM

Awesome news! They are really looking ahead


  • 0

#3 JeRRy

JeRRy

    Moderator

  • VIP
  • PipPipPipPip
  • 431 posts
  • Gender:Male
  • Team:SND

Posted 04 April 2014 - 02:32 AM

Not need to register link

http://rghost.net/53755195


  • 1

#4 Kurapica

Kurapica

    Experience Member

  • B@S Team
  • PipPipPipPipPipPip
  • 2,607 posts
  • Gender:Male
  • Location:Archives
  • Team:Black Storm

Posted 04 April 2014 - 06:54 AM

Finally something new to play with !


  • 0

#5 ubbelol

ubbelol

    Advanced Member

  • VIP
  • PipPipPip
  • 144 posts
  • Gender:Male
  • Interests:.NET, C, C++, NodeJS, RE
  • Team:RTN

Posted 04 April 2014 - 07:32 AM

I wonder what will happen with Reflection with the native files since I'm assuming they're getting rid of the high level metadata that is in IL.


  • 0

#6 kao

kao

    Reverser

  • VIP
  • PipPipPipPipPipPip
  • 1,165 posts
  • Gender:Male
  • Team:Freelancer

Posted 04 April 2014 - 08:57 AM

My opinion - Reflection will stay. All the metadata will stay. Only instead of assembly with IL code you'll get assembly with x86/x64 code, similar to mixed-mode assemblies made with Managed C++. Otherwise Microsoft would break lots of .NET Framework functionality and they don't want that.

On the other hand, it will make reversing .NET stuff much more fun. No more n00bs with Reflexil, yeah! :D
  • 1

#7 ubbelol

ubbelol

    Advanced Member

  • VIP
  • PipPipPip
  • 144 posts
  • Gender:Male
  • Interests:.NET, C, C++, NodeJS, RE
  • Team:RTN

Posted 04 April 2014 - 09:19 AM

My opinion - Reflection will stay. All the metadata will stay. Only instead of assembly with IL code you'll get assembly with x86/x64 code, similar to mixed-mode assemblies made with Managed C++. Otherwise Mikocok would break lots of .NET Framework functionality and they don't want that.

On the other hand, it will make reversing .NET stuff much more fun. No more n00bs with Reflexil, yeah! :D

 

That sounds reasonable. Gonna be really interesting to see how they implement it all.

 

EDIT: http://msdn.microsof...y/dn600640.aspx


Edited by UbbeLoL, 04 April 2014 - 09:22 AM.

  • 0

#8 Kurapica

Kurapica

    Experience Member

  • B@S Team
  • PipPipPipPipPipPip
  • 2,607 posts
  • Gender:Male
  • Location:Archives
  • Team:Black Storm

Posted 04 April 2014 - 12:18 PM

"Compilation is in the cloud"

 

any comments ?


  • 0

#9 kao

kao

    Reverser

  • VIP
  • PipPipPipPipPipPip
  • 1,165 posts
  • Gender:Male
  • Team:Freelancer

Posted 04 April 2014 - 12:57 PM

Where did you see that? From what I'm reading, it's 100% local on dev machine.

Issue: You don’t know if your app was compiled using .NET Native.
Resolution: If the .NET Native compiler is invoked, you'll notice longer build times, and Task Manager will show various .NET Native component processes such as ILC.exe and nutc_driver.exe. After you successfully build your project with .NET Native, you'll find the output under obj\config\ arch\projectname.ilc\out. The final native package contents can be found under bin\arch\config\AppX. The final native package contents are under \bin\arch\config\AppX if you have deployed the app.

From: http://msdn.microsof...(v=vs.110).aspx
  • 0

#10 0xd4d

0xd4d

    Greatest Member

  • VIP
  • PipPipPipPipPip
  • 555 posts
  • Gender:Not Telling
  • Team:-

Posted 04 April 2014 - 01:33 PM

It's when you upload it to Windows store that it will be compiled by MS. Developers will of course be able to compile it on their machines.


  • 0

#11 yck1509

yck1509

    Fish

  • B@S Team
  • PipPipPipPip
  • 274 posts
  • Gender:Male
  • Location:There
  • Team:This

Posted 04 April 2014 - 03:57 PM

I don't have x64 Windows OS so I can't test it, but I suppose this means traditional native protectors could finally invade .NET protector market with full strength. I don't really know is it a good thing...
  • 0

#12 Kurapica

Kurapica

    Experience Member

  • B@S Team
  • PipPipPipPipPipPip
  • 2,607 posts
  • Gender:Male
  • Location:Archives
  • Team:Black Storm

Posted 04 April 2014 - 04:00 PM

0xd4d is right but I watched the video twice and still think the produced application is just an ugly Chimera !

 

I mean it's not what we have in mind about a native code machine, this is just my opinion.


  • 0

#13 kao

kao

    Reverser

  • VIP
  • PipPipPipPipPipPip
  • 1,165 posts
  • Gender:Male
  • Team:Freelancer

Posted 04 April 2014 - 04:10 PM

Considering how much we talk and how little actual information we have.. Who can make a test app and compile it both 'normal' and '.NETNative'?

I have 64bit Win8.1 only in VMWare, but if nobody else volunteers, I'll install VisualStudio there and make a demo on Monday.
  • 0

#14 Kurapica

Kurapica

    Experience Member

  • B@S Team
  • PipPipPipPipPipPip
  • 2,607 posts
  • Gender:Male
  • Location:Archives
  • Team:Black Storm

Posted 04 April 2014 - 06:39 PM

I am also in, What should I do ?

 

you can ask me to send you a kidney but not to install Visual Studio 2013 or Windows 8 !


  • 0

#15 spudiod

spudiod

    Junior

  • Members
  • Pip
  • 22 posts
  • Gender:Male
  • Team:none

Posted 05 April 2014 - 02:54 PM

I can make a sample if you want


  • 0

#16 kao

kao

    Reverser

  • VIP
  • PipPipPipPipPipPip
  • 1,165 posts
  • Gender:Male
  • Team:Freelancer

Posted 05 April 2014 - 03:05 PM

@spudiod: that would be really nice. Even a very simple 'Hello world' application will do.
  • 0

#17 romero

romero

    Greatest Member

  • Special Members
  • PipPipPipPipPip
  • 773 posts
  • Gender:Male
  • Team:none

Posted 05 April 2014 - 05:59 PM

A nice article bout it .. its in german but nice reading ... http://www.heise.de/...de-2161015.html


  • 1

#18 spudiod

spudiod

    Junior

  • Members
  • Pip
  • 22 posts
  • Gender:Male
  • Team:none

Posted 06 April 2014 - 01:51 AM

@kao tomorrow i'll be able to make one, had no time today to install it


  • 0

#19 master131

master131

    Junior

  • Members
  • Pip
  • 13 posts
  • Team:None

Posted 06 April 2014 - 07:21 AM

Woop, it's about time they allowed this. Hopefully they add support for standard desktop applications and the x86 architecture as it improves. I'm also interested in the contents of the generated applications and the metadata that could be attached to it. I'm too lazy to install the SDK and produce a sample aplication though. :blum2:


  • 0

#20 Alcatraz3222

Alcatraz3222

    Member

  • Special Members
  • PipPip
  • 93 posts
  • Gender:Male
  • Team:Team

Posted 07 April 2014 - 10:06 AM

thanks for the news kao

 

http://blogs.msdn.co...ve-preview.aspx

 

Edit: i have installed it, but i don't see option to use native net, anyone know if it's only for windows 8.1, i have also x64 and windows 8

 

ReEdit: umm i have see just work for store targets, then only windows 8.1 and only store apps, it's sad, we have to wait to final version to use for windows form, WPF etc..


Edited by paula3222, 07 April 2014 - 10:16 AM.

  • 0



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users