Re: Memory Management during Program Loading

Valdis.Kletnieks_at_vt.edu
Date: 06/28/05

  • Next message: Arjan van de Ven: "Re: [PATCH] Read only syscall tables for x86_64 and i386"
    To: Sreeni <sreeni.pulichi@gmail.com>
    Date:	Tue, 28 Jun 2005 14:58:02 -0400
    
    
    

    On Tue, 28 Jun 2005 14:12:43 EDT, Sreeni said:

    > We have a "Bus Monitor hardware" which monitors and polices the bus at
    > the specified physical address.

    What does this hardware do, exactly, in addition to the usual memory-protection
    capabilities of the main processor? I suspect the answer to your query will
    depend largely on what your monitor does, exactly, and what capabilities
    it has, and what threat model you're trying to secure against....

    > Basically we need to run "secure" program under the supervision of the
    > Bus monitor hardware.

    Is there an actual "threat model" here, as in "the attacker might try XYZ,
    and this monitor is a defense because it does ABC, rendering XYZ ineffective"?

    I'm unclear on how the monitor can provide any *real* security when it quite
    likely does *not* have access to the entire state of the system (in particular,
    if there's a security-critical value that's still in a CPU register or L1
    cache line...)

    > Kernel can see the "secure" memory region, and kernel is reponsible for enabling
    > the "Bus monitor Hardware".

    The problem is that you're using an unsecured kernel to initially load the secure
    memory region - so an attacker is free to load broken code into the secure
    area. The usual "trusted system" solution for this is to ensure that the kernel
    *also* runs inside the tamper-proof evironment....

    Or is the *real* question here "We have a bus analyzer that can't see all of
    the physical memory, so we need the code we're interested in to be in the
    part of physical memory it can see"? If that's the case, totally different
    answers will probably apply (as we don't have to do things in a "secure" manner,
    we just need to get the right pages in the right frames before the analyzer is
    turned on).....

    
    

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/



  • Next message: Arjan van de Ven: "Re: [PATCH] Read only syscall tables for x86_64 and i386"

    Relevant Pages

    • loosing sound and /or DVD after Fedora 7or 8 install ...
      ... ASUSTeK Computer Inc. Unknown device 8276 ... Capabilities: Vendor Specific Information ... Memory behind bridge: fa000000-fe8fffff ... pin A routed to IRQ 16 ...
      (comp.os.linux.misc)
    • Re: Comments on PC Hardware Invited - Sempron Processor Etc
      ... I am not familiar with the AMD processors and would appreciate feedback from anyone who uses them alongside Intel for general use. ... 32 x ViewSonic VA1703wb 17-inch LCD Monitor Widescreen ... The 3800+ dual core, would be the equivalent of two of those processors ... HP shows a couple options for memory, and if you're going for 1GB total, ...
      (microsoft.public.windowsxp.hardware)
    • Re: Terminal Server 32bit /PAE vs 64bit
      ... memory usage goes back to about 3.5gb. ... Provision Networks VIP ... monitor does not see it with all my processes running. ... the best way to monitor this stuff as I have seen thru the task manager ...
      (microsoft.public.windows.terminal_services)
    • Re: New to Fedora, struggling with wireless
      ... 00:00.0 Host bridge: Intel Corporation Mobile ... 945GM/PM/GMS/940GML and 945GT Express Memory ... Subsystem: Sony Corporation Unknown device ... Capabilities: Vendor Specific Information ...
      (Fedora)
    • Re: Just the CP/M file system
      ... - Or a 1K monitor with basic memory ... emulator which allows you to single-step not only through RAM, ... the memory test and loop read/write for hardware diagnostics. ... A properly implemented file system in NAND flash will also ...
      (comp.os.cpm)