Questions tagged [dep]

DEP, the short for Data Execution Prevention, is a security feature included in recent operating systems meant to prevent an application or service from executing code from a non-executable memory region.

99 questions
2
votes
0 answers

Use dep to add Helm 3 as Go dependency

I want to install Helm charts from a Go application. As suggested by the docs I am loading the chart with chart, err := loader.Load(filename) However when trying to add this dependency with dep ensure -add k8s.io/helm/pkg/chart/loader I get the…
Harry Uglow
  • 307
  • 1
  • 2
  • 10
2
votes
1 answer

Dep init fails even when package exists

I am trying to package a go application using dep and when doing dep init the below error occours. I have installed the amcl library from here - https://github.com/milagro-crypto/amcl/tree/master/version3/go Even the following packages…
Nithin
  • 1,387
  • 4
  • 19
  • 48
2
votes
2 answers

Do Lambda Expressions and DEP work together?

I'm trying to understand how dynamically allocated code can run with dep. Let's take the example if a compiled Scheme program. As I understand it, When it's time to evaluate a lambda expression, the run-time HAS to allocate memory in order to…
Yoaz Menda
  • 1,555
  • 2
  • 21
  • 43
2
votes
0 answers

How can I get two page aligned(0x1000) and separated program headers?

I am trying to implement custom loader and want to locate two program headers(segment) for data and code with 0x1000 aligned. I fixed some part of the default linker script and get weird results. **Default linker script.** . = ALIGN (CONSTANT…
ruach
  • 1,369
  • 11
  • 21
2
votes
0 answers

Can any current hardware set a RAM page to be executable but not readable?

Just like how NX / DEP allow a page to be set non executable when it is writable, is it possible to tell the CPU that it can execute a page (i.e. read it for instruction fetch) but throw and exception if it is accessed via a mov instruction? The…
staticd
  • 1,194
  • 9
  • 13
2
votes
1 answer

Get DEP Setting

I need to determine if Windows DEP is disabled, set to essential windows programs and services or all programs except those I select. I've searched for a way of doing this but haven't had any success. Is there a way of doing this? Developing in C#.
Dan Hall
  • 1,474
  • 2
  • 18
  • 43
2
votes
3 answers

Track Data Execution Prevention (DEP)

When running one of our software, a tester was faced with the data execution prevention dialog of Windows. We try to reproduce this situation on a developer computer for debugging purposes : with no success. Does anyone know how to find what may…
Nicolas
  • 1,482
  • 2
  • 19
  • 35
1
vote
0 answers

Proxy DLL for ieframe.dll

I have created a template proxy dll for ieframe.dll using wrappit (http://www.codeproject.com/Articles/16541/Create-your-Proxy-DLLs-automatically) Currently, I am trying to hook it to test if it works before modifying any function, however, when I…
Ng Zi Kai
  • 35
  • 5
1
vote
1 answer

Data Execution Prevention with Windows Services

I am running Windows 7 Ultimate 64 bit. I have a windows service (written in C#) that calls into a dll released by an major telecoms service provider here in South Africa (TELKOM). The dll is called MPIEst.dll, and I believe it was written in C++.…
CODES_ONLY
  • 181
  • 2
  • 11
1
vote
1 answer

Are dependencies supposed to be packaged with a maven jar artifact?

Sonatype's Maven:The Complete Reference says that a compile scoped dependency is on all classpaths and is packaged with the artifact. Compile is the default scope; all dependencies are compile-scoped if a scope is not supplied. compile…
chad
  • 7,369
  • 6
  • 37
  • 56
1
vote
1 answer

How to add DEP exclusion through registry in Win Server 2003 x64

Is there a way to add an exclusion in DEP in Windows 2003 using registry? I tried adding through registry: HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlag\Layers DisableNXShowUI= After adding manually through registry, I can…
user1085523
  • 11
  • 1
  • 3
1
vote
3 answers

Switch off DEP from command line in Win 2003

How can I switch off DEP from command line in Win 2003? Or at least for Win XP. A lot of forums explain how switch it off by editing boot.ini, but I need command line solution.
Alex Blokha
  • 1,141
  • 2
  • 17
  • 30
1
vote
0 answers

How do I enable DEP and ASLR flag for my wpf .net core application?

I have a WPF .net core 3.1 windows application, where DEP/ASLR flags are showing TRUE in some machines and FALSE some machines. So can I force enable DEP/ASLR flag for my application alone regardless of machine?
Sujith S
  • 11
  • 1
1
vote
0 answers

Can we enable ASLR, DEP, SafeSEH, Authenticode, Control Flow Guard, and HighEntropyVA to an exe file from VB 6.0 ?? (I am new to VB6)

I am new to Microsoft Visual Basic. I need to enable ASLR, DEP, SafeSEH, Authenticode, Control Flow Guard, and HighEntropyVA. Can anyone guide me in the right direction? Everywhere it is given for C++ but not for VB6. we cannot use any third-party…
1
vote
0 answers

How can I import a set of generic personal makefiles into my go project using Dep, avoiding submodules?

I'm trying to clean out submodules from my Golang project. Submodules tagged at certain commits really complicates project setup and initialization. I'm looking for a way to import this non go project (not package) of makefiles to avoid submodule…
Kai
  • 11
  • 3